syscall_6502: fix warning
authorAlan Cox <alan@etchedpixels.co.uk>
Mon, 19 Oct 2015 11:34:29 +0000 (12:34 +0100)
committerAlan Cox <alan@etchedpixels.co.uk>
Mon, 19 Oct 2015 11:34:29 +0000 (12:34 +0100)
Library/tools/syscall_6502.c

index c523eb6..f92d55e 100644 (file)
@@ -19,7 +19,7 @@ static void write_call(int n)
     exit(1);
   }
   fprintf(fp, "\t.export _%s\n\n", syscall_name[n]);
-  fprintf(fp, "\t.import __syscall\n\n", syscall_name[n]);
+  fprintf(fp, "\t.import __syscall\n\n");
   fprintf(fp, "\t.import pushax\n\n");
   fprintf(fp, ".proc _%s\n", syscall_name[n]);
   if (syscall_args[n] == VARARGS) {