cmp: fix wrong rebase, missing line, sorry

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
Hiltjo Posthuma 2014-04-01 16:53:15 +02:00 committed by sin
parent bd9a81951f
commit 6b45824463
1 changed files with 1 additions and 0 deletions

1
cmp.c
View File

@ -64,6 +64,7 @@ main(int argc, char *argv[])
exit(Diff);
}
}
if(!lflag) {
if(!sflag)
printf("%s %s differ: char %ld, line %ld\n",
argv[0], !argv[1] ? "<stdin>" : argv[1], n, line);