diff --git a/cmp.c b/cmp.c index 9c0b316..9934e11 100644 --- a/cmp.c +++ b/cmp.c @@ -56,7 +56,7 @@ main(int argc, char *argv[]) for(i = 0; i < 2; i++) if(b[i] == EOF) enprintf(Diff, "cmp: EOF on %s\n", - !argv[i] ? "" : argv[1]); + !argv[i] ? "" : argv[i]); if(!lflag) { if(!sflag) printf("%s %s differ: char %ld, line %ld\n",