diff options
author | "Vladimir N. Oleynik" | 2005-10-12 16:45:21 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2005-10-12 16:45:21 +0000 |
commit | 368f66492e39c620eb20e11a7f347ef2e1ad6b61 (patch) | |
tree | 64462e527dac805d1171ec4e4afa3fe4d7066d6d | |
parent | d20cfbd3034ad41c0d99e7578156389f385c7340 (diff) | |
download | busybox-368f66492e39c620eb20e11a7f347ef2e1ad6b61.zip busybox-368f66492e39c620eb20e11a7f347ef2e1ad6b61.tar.gz |
perror correction
-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 fe4241d..6a3d28c 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 36eebf2..802d7fa 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)) { |