1
0
mirror of git://git.suckless.org/sbase synced 2024-12-24 07:53:08 +00:00

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
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);