36 lines
1.6 KiB
Diff
36 lines
1.6 KiB
Diff
|
Index: src/kmk/kmkbuiltin/kDepObj.c
|
||
|
===================================================================
|
||
|
--- src/kmk/kmkbuiltin/kDepObj.c.orig
|
||
|
+++ src/kmk/kmkbuiltin/kDepObj.c
|
||
|
@@ -363,7 +363,7 @@ int kDepObjCOFFParseCV8SymbolSection(con
|
||
|
case K_CV8_STRING_TABLE:
|
||
|
dprintf(("%06" KX32_PRI " %06" KX32_PRI ": String table\n", off, cbData));
|
||
|
if (pchStrTab)
|
||
|
- fprintf(stderr, "%s: warning: Found yet another string table!\n");
|
||
|
+ fprintf(stderr, "%s: warning: Found yet another string table!\n", argv0);
|
||
|
pchStrTab = uData.pch;
|
||
|
cbStrTab = cbData;
|
||
|
/*dump(uData.pb, cbData, 0);*/
|
||
|
@@ -372,7 +372,7 @@ int kDepObjCOFFParseCV8SymbolSection(con
|
||
|
case K_CV8_SOURCE_FILES:
|
||
|
dprintf(("%06" KX32_PRI " %06" KX32_PRI ": Source files\n", off, cbData));
|
||
|
if (uSrcFiles.pb)
|
||
|
- fprintf(stderr, "%s: warning: Found yet another source files table!\n");
|
||
|
+ fprintf(stderr, "%s: warning: Found yet another source files table!\n", argv0);
|
||
|
uSrcFiles = uData;
|
||
|
cbSrcFiles = cbData;
|
||
|
/*dump(uData.pb, cbData, 0);*/
|
||
|
Index: src/kmk/kmkbuiltin/printf.c
|
||
|
===================================================================
|
||
|
--- src/kmk/kmkbuiltin/printf.c.orig
|
||
|
+++ src/kmk/kmkbuiltin/printf.c
|
||
|
@@ -206,7 +206,7 @@ char *kmk_builtin_func_printf(char *o, c
|
||
|
|
||
|
(void)funcname;
|
||
|
if (rc != 0)
|
||
|
- fatal (NILF, _("$(%s): failure rc=%d\n"), rc);
|
||
|
+ fatal (NILF, _("$(%s): failure rc=%d\n"), funcname, rc);
|
||
|
return o;
|
||
|
}
|
||
|
#endif
|