cmp: fix wrong rebase, missing line, sorry
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
This commit is contained in:
parent
bd9a81951f
commit
6b45824463
1
cmp.c
1
cmp.c
@ -64,6 +64,7 @@ main(int argc, char *argv[])
|
|||||||
exit(Diff);
|
exit(Diff);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(!lflag) {
|
||||||
if(!sflag)
|
if(!sflag)
|
||||||
printf("%s %s differ: char %ld, line %ld\n",
|
printf("%s %s differ: char %ld, line %ld\n",
|
||||||
argv[0], !argv[1] ? "<stdin>" : argv[1], n, line);
|
argv[0], !argv[1] ? "<stdin>" : argv[1], n, line);
|
||||||
|
Loading…
Reference in New Issue
Block a user