From 62430453cccbf47da2bf29ec9f511701098d993b Mon Sep 17 00:00:00 2001 From: Curtis F Kaylor Date: Sat, 16 Nov 2019 12:22:42 -0500 Subject: [PATCH] Fixed printf() warnings in a02.c --- a02.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/a02.c b/a02.c index 1a317ae..8c3c079 100644 --- a/a02.c +++ b/a02.c @@ -61,7 +61,7 @@ FILE *incfil; //Include File Pointer /* Print Usage Info and Exit */ void usage(char* appnam) { - printf("Usage: %s [opts] asmfile objfile [lstfile]\n"); + printf("Usage: %s [opts] asmfile objfile [lstfile]\n", appnam); printf(" Opts: -p - Commodore PRG format\n"); printf(" -d - Output Debug Info\n"); exit(EXIT_FAILURE); @@ -390,7 +390,6 @@ void asminf(void) { if (debug) puts("Assembling INCLUDE Pseudo-Op"); if (incfil) xerror("Nested INCLUDE not Allowed", ""); if (!cpychr('"')) xerror("File Name Must be Quoted", ""); - printf("%d: '%p'\n", linptr, *linptr); while (*linptr && !cpychr('"')) { char c = *linptr; if (c == '/') c = '\\'; //Reverse Slashes for DOS/Windows incnam[incidx++] = c;