Make code a bit more clear
This commit is contained in:
parent
c28e2a39ec
commit
760690c85e
2
cmp.c
2
cmp.c
|
@ -56,7 +56,7 @@ main(int argc, char *argv[])
|
||||||
for(i = 0; i < 2; i++)
|
for(i = 0; i < 2; i++)
|
||||||
if(b[i] == EOF)
|
if(b[i] == EOF)
|
||||||
enprintf(Diff, "cmp: EOF on %s\n",
|
enprintf(Diff, "cmp: EOF on %s\n",
|
||||||
!argv[i] ? "<stdin>" : argv[1]);
|
!argv[i] ? "<stdin>" : argv[i]);
|
||||||
if(!lflag) {
|
if(!lflag) {
|
||||||
if(!sflag)
|
if(!sflag)
|
||||||
printf("%s %s differ: char %ld, line %ld\n",
|
printf("%s %s differ: char %ld, line %ld\n",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user