diff options
Diffstat (limited to 'util-linux/fsck_minix.c')
-rw-r--r-- | util-linux/fsck_minix.c | 16 |
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 | ||
571 | static void write_tables(void) | 571 | static 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 | ||
583 | static void get_dirsize(void) | 583 | static 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; |