diff options
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]); |