summaryrefslogtreecommitdiff
path: root/util-linux/mkfs_minix.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-13 09:08:27 +0100
commit6331cf059ccfdf35f4e5a505cbae885094cc41b0 (patch)
treeccb4b4f0d96d9636861a75f7fc6c97b8b15bd306 /util-linux/mkfs_minix.c
parentf4fee418ae9f5308b4d32bc8d4e618f779f3203f (diff)
downloadbusybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.gz
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.tar.bz2
busybox-w32-6331cf059ccfdf35f4e5a505cbae885094cc41b0.zip
*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_minix.c')
-rw-r--r--util-linux/mkfs_minix.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c
index 8819cee4e..c6c2036ea 100644
--- a/util-linux/mkfs_minix.c
+++ b/util-linux/mkfs_minix.c
@@ -243,22 +243,22 @@ static void write_tables(void)
243 msg_eol = "seek to 0 failed"; 243 msg_eol = "seek to 0 failed";
244 xlseek(dev_fd, 0, SEEK_SET); 244 xlseek(dev_fd, 0, SEEK_SET);
245 245
246 msg_eol = "cannot clear boot sector"; 246 msg_eol = "can't clear boot sector";
247 xwrite(dev_fd, G.boot_block_buffer, 512); 247 xwrite(dev_fd, G.boot_block_buffer, 512);
248 248
249 msg_eol = "seek to BLOCK_SIZE failed"; 249 msg_eol = "seek to BLOCK_SIZE failed";
250 xlseek(dev_fd, BLOCK_SIZE, SEEK_SET); 250 xlseek(dev_fd, BLOCK_SIZE, SEEK_SET);
251 251
252 msg_eol = "cannot write superblock"; 252 msg_eol = "can't write superblock";
253 xwrite(dev_fd, G.superblock_buffer, BLOCK_SIZE); 253 xwrite(dev_fd, G.superblock_buffer, BLOCK_SIZE);
254 254
255 msg_eol = "cannot write inode map"; 255 msg_eol = "can't write inode map";
256 xwrite(dev_fd, G.inode_map, SB_IMAPS * BLOCK_SIZE); 256 xwrite(dev_fd, G.inode_map, SB_IMAPS * BLOCK_SIZE);
257 257
258 msg_eol = "cannot write zone map"; 258 msg_eol = "can't write zone map";
259 xwrite(dev_fd, G.zone_map, SB_ZMAPS * BLOCK_SIZE); 259 xwrite(dev_fd, G.zone_map, SB_ZMAPS * BLOCK_SIZE);
260 260
261 msg_eol = "cannot write inodes"; 261 msg_eol = "can't write inodes";
262 xwrite(dev_fd, G.inode_buffer, INODE_BUFFER_SIZE); 262 xwrite(dev_fd, G.inode_buffer, INODE_BUFFER_SIZE);
263 263
264 msg_eol = "\n"; 264 msg_eol = "\n";
@@ -687,7 +687,7 @@ int mkfs_minix_main(int argc UNUSED_PARAM, char **argv)
687 687
688 xmove_fd(xopen(G.device_name, O_RDWR), dev_fd); 688 xmove_fd(xopen(G.device_name, O_RDWR), dev_fd);
689 if (fstat(dev_fd, &statbuf) < 0) 689 if (fstat(dev_fd, &statbuf) < 0)
690 bb_error_msg_and_die("cannot stat %s", G.device_name); 690 bb_error_msg_and_die("can't stat %s", G.device_name);
691 if (!S_ISBLK(statbuf.st_mode)) 691 if (!S_ISBLK(statbuf.st_mode))
692 opt &= ~1; // clear -c (check) 692 opt &= ~1; // clear -c (check)
693 693