[hackers] [sbase] Make code a bit more clear || sin
commit 760690c85e2a178a815dba8da9c80690bf49ad80
Author: sin <sin_AT_2f30.org>
Date: Tue Mar 4 10:41:19 2014 +0000
Make code a bit more clear
diff --git a/cmp.c b/cmp.c
index 9c0b316..9934e11 100644
--- a/cmp.c
+++ b/cmp.c
_AT_@ -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
",
- !argv[i] ? "<stdin>" : argv[1]);
+ !argv[i] ? "<stdin>" : argv[i]);
if(!lflag) {
if(!sflag)
printf("%s %s differ: char %ld, line %ld
",
Received on Tue Mar 04 2014 - 11:43:55 CET
This archive was generated by hypermail 2.3.0
: Tue Mar 04 2014 - 11:48:20 CET