diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-19 09:13:01 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-19 09:13:01 +0000 |
commit | cad5364599eb5062d59e0c397ed638ddd61a8d5d (patch) | |
tree | a318d0f03aa076c74b576ea45dc543a5669e8e91 /coreutils/sha1sum.c | |
parent | e01f9662a5bd5d91be4f6b3941b57fff73cd5af1 (diff) | |
download | busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.gz busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.tar.bz2 busybox-w32-cad5364599eb5062d59e0c397ed638ddd61a8d5d.zip |
Major coreutils update.
Diffstat (limited to 'coreutils/sha1sum.c')
-rw-r--r-- | coreutils/sha1sum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/sha1sum.c b/coreutils/sha1sum.c index 03009f76f..d94cb4b53 100644 --- a/coreutils/sha1sum.c +++ b/coreutils/sha1sum.c | |||
@@ -187,7 +187,7 @@ extern int authenticate(const int argc, char **argv, void (*hash_ptr)(FILE *stre | |||
187 | break; | 187 | break; |
188 | #endif | 188 | #endif |
189 | default: | 189 | default: |
190 | show_usage(); | 190 | bb_show_usage(); |
191 | } | 191 | } |
192 | } | 192 | } |
193 | 193 | ||
@@ -204,7 +204,7 @@ extern int authenticate(const int argc, char **argv, void (*hash_ptr)(FILE *stre | |||
204 | hash_ptr(stdin, hashval); | 204 | hash_ptr(stdin, hashval); |
205 | print_hash(hash_length, hashval, NULL); | 205 | print_hash(hash_length, hashval, NULL); |
206 | } else { | 206 | } else { |
207 | FILE *stream = xfopen(argv[i], "r"); | 207 | FILE *stream = bb_xfopen(argv[i], "r"); |
208 | hash_ptr(stream, hashval); | 208 | hash_ptr(stream, hashval); |
209 | fclose(stream); | 209 | fclose(stream); |
210 | print_hash(hash_length, hashval, argv[i]); | 210 | print_hash(hash_length, hashval, argv[i]); |