Skip to content

Commit 6c5ec98

Browse files
tsatsulinkripken
authored andcommitted
Fix format string in error emitting (#5918)
* Add myself to the authors * Fix format string
1 parent e9eb640 commit 6c5ec98

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -317,4 +317,5 @@ a license to everyone to use it as detailed in LICENSE.)
317317
* José Carlos Pujol <josecpujol(at)gmail.com>
318318
* Dannii Willis <[email protected]>
319319
* Erik Dubbelboer <[email protected]>
320+
* Sergey Tsatsulin <[email protected]>
320321

emcc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def setting_sub(s):
738738

739739
if not arg.startswith('-'):
740740
if not os.path.exists(arg):
741-
exit_with_error('%s: No such file or directory ("%s" was expected to be an input file, based on the commandline arguments provided)', arg, arg)
741+
exit_with_error('%s: No such file or directory ("%s" was expected to be an input file, based on the commandline arguments provided)' % (arg, arg))
742742

743743
arg_ending = filename_type_ending(arg)
744744
if arg_ending.endswith(SOURCE_ENDINGS + BITCODE_ENDINGS + DYNAMICLIB_ENDINGS + ASSEMBLY_ENDINGS + HEADER_ENDINGS) or shared.Building.is_ar(arg): # we already removed -o <target>, so all these should be inputs

0 commit comments

Comments
 (0)