diff options
author | Bernhard Reutner-Fischer | 2008-05-19 09:48:17 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2008-05-19 09:48:17 +0000 |
commit | 5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d (patch) | |
tree | 44b7cf5fb706b0816dd4525782ca8c37d07c2f43 /archival/libunarchive/decompress_bunzip2.c | |
parent | 636a1f85e89432601c59cdc3239fc867b4adf051 (diff) | |
download | busybox-5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d.zip busybox-5e25ddb7d369b6785ec3aaa96cbc0521c22aeb0d.tar.gz |
- use STD*_FILENO some more. No object-code changes
Diffstat (limited to 'archival/libunarchive/decompress_bunzip2.c')
-rw-r--r-- | archival/libunarchive/decompress_bunzip2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c index f74fdf1..8f35bc5 100644 --- a/archival/libunarchive/decompress_bunzip2.c +++ b/archival/libunarchive/decompress_bunzip2.c @@ -762,7 +762,7 @@ int main(int argc, char **argv) if (i < 0) fprintf(stderr,"%s\n", bunzip_errors[-i]); - else if (read(0, &c, 1)) + else if (read(STDIN_FILENO, &c, 1)) fprintf(stderr,"Trailing garbage ignored\n"); return -i; } |