aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/e2fsbb.h1
-rw-r--r--e2fsprogs/fsck.c2
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)) {