summaryrefslogtreecommitdiff
path: root/util-linux/fsck_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/fsck_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/fsck_minix.c')
-rw-r--r--util-linux/fsck_minix.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c
index cc9eec22d..18ea05fec 100644
--- a/util-linux/fsck_minix.c
+++ b/util-linux/fsck_minix.c
@@ -565,7 +565,7 @@ static void write_superblock(void)
565 565
566 xlseek(dev_fd, BLOCK_SIZE, SEEK_SET); 566 xlseek(dev_fd, BLOCK_SIZE, SEEK_SET);
567 if (BLOCK_SIZE != full_write(dev_fd, superblock_buffer, BLOCK_SIZE)) 567 if (BLOCK_SIZE != full_write(dev_fd, superblock_buffer, BLOCK_SIZE))
568 die("cannot write superblock"); 568 die("can't write superblock");
569} 569}
570 570
571static void write_tables(void) 571static void write_tables(void)
@@ -573,11 +573,11 @@ static void write_tables(void)
573 write_superblock(); 573 write_superblock();
574 574
575 if (IMAPS * BLOCK_SIZE != write(dev_fd, inode_map, IMAPS * BLOCK_SIZE)) 575 if (IMAPS * BLOCK_SIZE != write(dev_fd, inode_map, IMAPS * BLOCK_SIZE))
576 die("cannot write inode map"); 576 die("can't write inode map");
577 if (ZMAPS * BLOCK_SIZE != write(dev_fd, zone_map, ZMAPS * BLOCK_SIZE)) 577 if (ZMAPS * BLOCK_SIZE != write(dev_fd, zone_map, ZMAPS * BLOCK_SIZE))
578 die("cannot write zone map"); 578 die("can't write zone map");
579 if (INODE_BUFFER_SIZE != write(dev_fd, inode_buffer, INODE_BUFFER_SIZE)) 579 if (INODE_BUFFER_SIZE != write(dev_fd, inode_buffer, INODE_BUFFER_SIZE))
580 die("cannot write inodes"); 580 die("can't write inodes");
581} 581}
582 582
583static void get_dirsize(void) 583static void get_dirsize(void)
@@ -607,7 +607,7 @@ static void read_superblock(void)
607{ 607{
608 xlseek(dev_fd, BLOCK_SIZE, SEEK_SET); 608 xlseek(dev_fd, BLOCK_SIZE, SEEK_SET);
609 if (BLOCK_SIZE != full_read(dev_fd, superblock_buffer, BLOCK_SIZE)) 609 if (BLOCK_SIZE != full_read(dev_fd, superblock_buffer, BLOCK_SIZE))
610 die("cannot read superblock"); 610 die("can't read superblock");
611 /* already initialized to: 611 /* already initialized to:
612 namelen = 14; 612 namelen = 14;
613 dirsize = 16; 613 dirsize = 16;
@@ -643,11 +643,11 @@ static void read_tables(void)
643 inode_count = xmalloc(INODES + 1); 643 inode_count = xmalloc(INODES + 1);
644 zone_count = xmalloc(ZONES); 644 zone_count = xmalloc(ZONES);
645 if (IMAPS * BLOCK_SIZE != read(dev_fd, inode_map, IMAPS * BLOCK_SIZE)) 645 if (IMAPS * BLOCK_SIZE != read(dev_fd, inode_map, IMAPS * BLOCK_SIZE))
646 die("cannot read inode map"); 646 die("can't read inode map");
647 if (ZMAPS * BLOCK_SIZE != read(dev_fd, zone_map, ZMAPS * BLOCK_SIZE)) 647 if (ZMAPS * BLOCK_SIZE != read(dev_fd, zone_map, ZMAPS * BLOCK_SIZE))
648 die("cannot read zone map"); 648 die("can't read zone map");
649 if (INODE_BUFFER_SIZE != read(dev_fd, inode_buffer, INODE_BUFFER_SIZE)) 649 if (INODE_BUFFER_SIZE != read(dev_fd, inode_buffer, INODE_BUFFER_SIZE))
650 die("cannot read inodes"); 650 die("can't read inodes");
651 if (NORM_FIRSTZONE != FIRSTZONE) { 651 if (NORM_FIRSTZONE != FIRSTZONE) {
652 printf("warning: firstzone!=norm_firstzone\n"); 652 printf("warning: firstzone!=norm_firstzone\n");
653 errors_uncorrected = 1; 653 errors_uncorrected = 1;