summaryrefslogtreecommitdiffhomepage
path: root/e2fsprogs/old_e2fsprogs
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-20 21:19:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-20 21:19:35 +0000
commitf90ab183d63c64fd2c35f00d65aedbaae8402740 (patch)
tree717976261ccdb8e7ab68c79def5ea10936c0dcd3 /e2fsprogs/old_e2fsprogs
parent275b929e0157c7e40a66df108b1e1954b59a2bdf (diff)
*: use fopen_or_warn in few more places
Diffstat (limited to 'e2fsprogs/old_e2fsprogs')
-rw-r--r--e2fsprogs/old_e2fsprogs/fsck.c3
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)) {