syscall6502: fix silly warning
authorAlan Cox <alan@etchedpixels.co.uk>
Tue, 31 May 2016 11:45:53 +0000 (12:45 +0100)
committerAlan Cox <alan@etchedpixels.co.uk>
Tue, 31 May 2016 11:45:53 +0000 (12:45 +0100)
Library/tools/syscall_6502.c

index f92d55e..cbc0681 100644 (file)
@@ -54,7 +54,7 @@ static void write_makefile(void)
   fprintf(fp, "# Autogenerated by tools/syscall_6502\n");
   fprintf(fp, "AS = ca65\n");
   fprintf(fp, "AR = ar65\n");
-  fprintf(fp, "ASYS = syscall.s\n", syscall_name[0]);
+  fprintf(fp, "ASYS = syscall.s\n");
   fprintf(fp, "ASRCS = syscall_%s.s\n", syscall_name[i]);
   for (i = 1; i < NR_SYSCALL; i++)
     fprintf(fp, "ASRCS += syscall_%s.s\n", syscall_name[i]);