aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkfs_reiser.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mkfs_reiser.c')
-rw-r--r--util-linux/mkfs_reiser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkfs_reiser.c b/util-linux/mkfs_reiser.c
index b4c8dda6f..d2eaf5f94 100644
--- a/util-linux/mkfs_reiser.c
+++ b/util-linux/mkfs_reiser.c
@@ -178,7 +178,7 @@ int mkfs_reiser_main(int argc UNUSED_PARAM, char **argv)
178 // N.B. what if we format a file? find_mount_point will return false negative since 178 // N.B. what if we format a file? find_mount_point will return false negative since
179 // it is loop block device which is mounted! 179 // it is loop block device which is mounted!
180 if (find_mount_point(argv[0], 0)) 180 if (find_mount_point(argv[0], 0))
181 bb_error_msg_and_die("can't format mounted filesystem"); 181 bb_simple_error_msg_and_die("can't format mounted filesystem");
182 182
183 // open the device, get size in blocks 183 // open the device, get size in blocks
184 blocks = get_volume_size_in_bytes(fd, argv[1], blocksize, /*extend:*/ 1) / blocksize; 184 blocks = get_volume_size_in_bytes(fd, argv[1], blocksize, /*extend:*/ 1) / blocksize;