toolshed/toolshed-printf-format.patch
2015-04-28 13:00:47 -04:00

12 lines
558 B
Diff

diff -up toolshed-20150416hg6f0dcb7087fe/os9/os9ident.c.orig toolshed-20150416hg6f0dcb7087fe/os9/os9ident.c
--- toolshed-20150416hg6f0dcb7087fe/os9/os9ident.c.orig 2015-04-16 14:11:27.860172406 -0400
+++ toolshed-20150416hg6f0dcb7087fe/os9/os9ident.c 2015-04-16 14:11:40.992302666 -0400
@@ -121,7 +121,7 @@ static void ident_osk(OSK_MODULE_t *mod)
printf("Trap Hnlr");
break;
default :
- printf(types[mod->type]);
+ printf("%s", types[mod->type]);
break;
}
printf(", %s",(mod->lang == Objct) ? "68000 obj" : langs[mod->lang]);