diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-12 20:45:21 +0400 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-10-12 20:45:21 +0400 |
commit | 368f66492e39c620eb20e11a7f347ef2e1ad6b61 (patch) | |
tree | 64462e527dac805d1171ec4e4afa3fe4d7066d6d /e2fsprogs | |
parent | d20cfbd3034ad41c0d99e7578156389f385c7340 (diff) |
perror correction
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/e2fsbb.h | 1 | ||||
-rw-r--r-- | e2fsprogs/fsck.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/e2fsprogs/e2fsbb.h b/e2fsprogs/e2fsbb.h index fe4241d1d..6a3d28c69 100644 --- a/e2fsprogs/e2fsbb.h +++ b/e2fsprogs/e2fsbb.h @@ -33,7 +33,6 @@ typedef long errcode_t; /* misc crap */ #define fatal_error(err, msg) bb_error_msg_and_die(msg) #define usage() bb_show_usage() -#define perror(msg) bb_perror_msg(msg) /* header defines */ #define ENABLE_HTREE 1 diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index 36eebf2c5..802d7fa86 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c @@ -485,7 +485,7 @@ static void load_fs_info(const char *filename) struct fs_info *fs; if ((f = fopen(filename, "r")) == NULL) { - bb_perror_msg("WARNING: couldn't open %s: %m", filename); + bb_perror_msg("WARNING: couldn't open %s", filename); return; } while (!feof(f)) { |