aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/ext2fs/bitops.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/ext2fs/bitops.c')
-rw-r--r--e2fsprogs/ext2fs/bitops.c9
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,
{
#ifndef OMIT_COM_ERR
if (description)
- com_err(0, errcode, "#%lu for %s", arg, description);
+ bb_error_msg("#%lu for %s", arg, description);
else
- com_err(0, errcode, "#%lu", arg);
+ bb_error_msg("#%lu", arg);
#endif
}
@@ -82,10 +82,9 @@ void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap,
{
#ifndef OMIT_COM_ERR
if (bitmap->description)
- com_err(0, bitmap->base_error_code+code,
- "#%lu for %s", arg, bitmap->description);
+ bb_error_msg("#%lu for %s", arg, bitmap->description);
else
- com_err(0, bitmap->base_error_code + code, "#%lu", arg);
+ bb_error_msg("#%lu", arg);
#endif
}