aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkfs_vfat.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-02 20:18:29 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-02 20:18:29 +0200
commit4cd4eb43320de6ecccb3b69087daee325d0bbfc1 (patch)
tree44db952d0feea229c4359bd5a2f8dc59db5ee07d /util-linux/mkfs_vfat.c
parent6a98f95373d60d48001299797f52b1f19c7ffecd (diff)
downloadbusybox-w32-4cd4eb43320de6ecccb3b69087daee325d0bbfc1.tar.gz
busybox-w32-4cd4eb43320de6ecccb3b69087daee325d0bbfc1.tar.bz2
busybox-w32-4cd4eb43320de6ecccb3b69087daee325d0bbfc1.zip
apply post-1.14.2 patches
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_vfat.c')
-rw-r--r--util-linux/mkfs_vfat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/mkfs_vfat.c b/util-linux/mkfs_vfat.c
index 72c2058b5..aa6ae92db 100644
--- a/util-linux/mkfs_vfat.c
+++ b/util-linux/mkfs_vfat.c
@@ -273,10 +273,10 @@ int mkfs_vfat_main(int argc UNUSED_PARAM, char **argv)
273 device_num == 0x0d00 || // xd 273 device_num == 0x0d00 || // xd
274 device_num == 0x1600 ) // hdc, hdd 274 device_num == 0x1600 ) // hdc, hdd
275 ) 275 )
276 bb_error_msg_and_die("Will not try to make filesystem on full-disk device (use -I if wanted)"); 276 bb_error_msg_and_die("will not try to make filesystem on full-disk device (use -I if wanted)");
277 // can't work on mounted filesystems 277 // can't work on mounted filesystems
278 if (find_mount_point(device_name, NULL)) 278 if (find_mount_point(device_name))
279 bb_error_msg_and_die("Can't format mounted filesystem"); 279 bb_error_msg_and_die("can't format mounted filesystem");
280#endif 280#endif
281 // get true sector size 281 // get true sector size
282 // (parameter must be int*, not long* or size_t*) 282 // (parameter must be int*, not long* or size_t*)