diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-20 21:19:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-20 21:19:35 +0000 |
commit | f90ab183d63c64fd2c35f00d65aedbaae8402740 (patch) | |
tree | 717976261ccdb8e7ab68c79def5ea10936c0dcd3 /e2fsprogs/old_e2fsprogs | |
parent | 275b929e0157c7e40a66df108b1e1954b59a2bdf (diff) | |
download | busybox-f90ab183d63c64fd2c35f00d65aedbaae8402740.tar.gz |
*: use fopen_or_warn in few more places
Diffstat (limited to 'e2fsprogs/old_e2fsprogs')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/fsck.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/e2fsprogs/old_e2fsprogs/fsck.c b/e2fsprogs/old_e2fsprogs/fsck.c index d4914a571..a51c33a1c 100644 --- a/e2fsprogs/old_e2fsprogs/fsck.c +++ b/e2fsprogs/old_e2fsprogs/fsck.c @@ -477,8 +477,7 @@ static void load_fs_info(const char *filename) int old_fstab = 1; struct fs_info *fs; - if ((f = fopen(filename, "r")) == NULL) { - bb_perror_msg("WARNING: cannot open %s", filename); + if ((f = fopen_or_warn(filename, "r")) == NULL) { return; } while (!feof(f)) { |