diff options
author | Elie De Brauwer <eliedebrauwer@gmail.com> | 2012-07-05 20:11:40 +0200 |
---|---|---|
committer | Elie De Brauwer <eliedebrauwer@gmail.com> | 2012-07-05 20:11:40 +0200 |
commit | c2f62a97261dd471456b72ada279d3a14360a5cd (patch) | |
tree | 5c6dff42e6e5c788e100a87561dcee949f70b36e | |
parent | 0606e2a29c64d7eed3902706fbb78b399a1b3e07 (diff) | |
download | toybox-c2f62a97261dd471456b72ada279d3a14360a5cd.tar.gz |
Put cmp.c EOF notice on stderr
-rw-r--r-- | toys/cmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -73,7 +73,7 @@ void do_cmp(int fd, char *name) } if (len1 != len2) { if (!(toys.optflags & FLAG_s)) { - printf("cmp: EOF on %s\n", + fprintf(stderr, "cmp: EOF on %s\n", len1 < len2 ? TT.name : name); } toys.exitval = 1; |