sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 760690c85e2a178a815dba8da9c80690bf49ad80
parent c28e2a39ecf560291a68db3d506a5d2177c7a80d
Author: sin <sin@2f30.org>
Date:   Tue,  4 Mar 2014 10:41:19 +0000

Make code a bit more clear

Diffstat:
Mcmp.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmp.c b/cmp.c @@ -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",