From 45b24e6fe84b7ffeb927894f3a674686d6e6606d Mon Sep 17 00:00:00 2001 From: epoch Date: Wed, 2 Nov 2016 03:46:25 -0500 Subject: changed slowcat's usage statement to go to stderr removed the 'hi' file. --- slowcat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slowcat.c') 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"); -- cgit v1.2.3