summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hi0
-rw-r--r--slowcat.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/hi b/hi
deleted file mode 100644
index e69de29..0000000
--- a/hi
+++ /dev/null
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");