summaryrefslogtreecommitdiff
path: root/slowcat.c
diff options
context:
space:
mode:
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");