diff options
Diffstat (limited to 'e2fsprogs/ext2fs/bitops.c')
-rw-r--r-- | e2fsprogs/ext2fs/bitops.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/e2fsprogs/ext2fs/bitops.c b/e2fsprogs/ext2fs/bitops.c index 77ac2a61f..44c08ad9f 100644 --- a/e2fsprogs/ext2fs/bitops.c +++ b/e2fsprogs/ext2fs/bitops.c | |||
@@ -71,9 +71,9 @@ void ext2fs_warn_bitmap(errcode_t errcode, unsigned long arg, | |||
71 | { | 71 | { |
72 | #ifndef OMIT_COM_ERR | 72 | #ifndef OMIT_COM_ERR |
73 | if (description) | 73 | if (description) |
74 | com_err(0, errcode, "#%lu for %s", arg, description); | 74 | bb_error_msg("#%lu for %s", arg, description); |
75 | else | 75 | else |
76 | com_err(0, errcode, "#%lu", arg); | 76 | bb_error_msg("#%lu", arg); |
77 | #endif | 77 | #endif |
78 | } | 78 | } |
79 | 79 | ||
@@ -82,10 +82,9 @@ void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap, | |||
82 | { | 82 | { |
83 | #ifndef OMIT_COM_ERR | 83 | #ifndef OMIT_COM_ERR |
84 | if (bitmap->description) | 84 | if (bitmap->description) |
85 | com_err(0, bitmap->base_error_code+code, | 85 | bb_error_msg("#%lu for %s", arg, bitmap->description); |
86 | "#%lu for %s", arg, bitmap->description); | ||
87 | else | 86 | else |
88 | com_err(0, bitmap->base_error_code + code, "#%lu", arg); | 87 | bb_error_msg("#%lu", arg); |
89 | #endif | 88 | #endif |
90 | } | 89 | } |
91 | 90 | ||