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

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++)
if(b[i] == EOF)
enprintf(Diff, "cmp: EOF on %s\n",
!argv[i] ? "<stdin>" : argv[1]);
!argv[i] ? "<stdin>" : argv[i]);
if(!lflag) {
if(!sflag)
printf("%s %s differ: char %ld, line %ld\n",