diff options
author | epoch <epoch@hacking.allowed.org> | 2016-11-02 03:46:25 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2016-11-02 03:46:25 -0500 |
commit | 45b24e6fe84b7ffeb927894f3a674686d6e6606d (patch) | |
tree | da612f8f4d73990dd7e05318d219922629e4e4aa | |
parent | 124768069510ab180e2b469b2a4ac517610e74c4 (diff) | |
download | hackvr-45b24e6fe84b7ffeb927894f3a674686d6e6606d.tar.gz hackvr-45b24e6fe84b7ffeb927894f3a674686d6e6606d.zip |
changed slowcat's usage statement to go to stderr
removed the 'hi' file.
-rw-r--r-- | hi | 0 | ||||
-rw-r--r-- | slowcat.c | 4 |
2 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ int main(int argc,char *argv[]) { short in; FILE *fp=stdin; if(argc < 2) { - printf("usage: slowcat delay [file1] [file2] [...]\n"); - return -1; + fprintf(stderr,"usage: slowcat delay [file1] [file2] [...]\n"); + return 1; } if(argc > 2) { fp=fopen(argv[2],"r"); |