summaryrefslogtreecommitdiff
path: root/slowcat.c
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2016-11-02 03:46:25 -0500
committerepoch <epoch@hacking.allowed.org>2016-11-02 03:46:25 -0500
commit45b24e6fe84b7ffeb927894f3a674686d6e6606d (patch)
treeda612f8f4d73990dd7e05318d219922629e4e4aa /slowcat.c
parent124768069510ab180e2b469b2a4ac517610e74c4 (diff)
downloadhackvr-45b24e6fe84b7ffeb927894f3a674686d6e6606d.tar.gz
hackvr-45b24e6fe84b7ffeb927894f3a674686d6e6606d.zip
changed slowcat's usage statement to go to stderr
removed the 'hi' file.
Diffstat (limited to 'slowcat.c')
-rw-r--r--slowcat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slowcat.c b/slowcat.c
index 2efb92f..facd2cc 100644
--- a/slowcat.c
+++ b/slowcat.c
@@ -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");