Make code a bit more clear

This commit is contained in:
sin 2014-03-04 10:41:19 +00:00
parent c28e2a39ec
commit 760690c85e

2
cmp.c
View File

@ -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",