diff options
Diffstat (limited to 'e2fsprogs/old_e2fsprogs/util.c')
-rw-r--r-- | e2fsprogs/old_e2fsprogs/util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e2fsprogs/old_e2fsprogs/util.c b/e2fsprogs/old_e2fsprogs/util.c index 7ab6591d5..326492d49 100644 --- a/e2fsprogs/old_e2fsprogs/util.c +++ b/e2fsprogs/old_e2fsprogs/util.c | |||
@@ -35,7 +35,7 @@ void check_plausibility(const char *device, int force) | |||
35 | if (force) | 35 | if (force) |
36 | return; | 36 | return; |
37 | if (val == -1) | 37 | if (val == -1) |
38 | bb_perror_msg_and_die("cannot stat %s", device); | 38 | bb_perror_msg_and_die("can't stat %s", device); |
39 | if (!S_ISBLK(s.st_mode)) { | 39 | if (!S_ISBLK(s.st_mode)) { |
40 | printf("%s is not a block special device.\n", device); | 40 | printf("%s is not a block special device.\n", device); |
41 | proceed_question(); | 41 | proceed_question(); |
@@ -79,7 +79,7 @@ void check_mount(const char *device, int force, const char *type) | |||
79 | 79 | ||
80 | retval = ext2fs_check_if_mounted(device, &mount_flags); | 80 | retval = ext2fs_check_if_mounted(device, &mount_flags); |
81 | if (retval) { | 81 | if (retval) { |
82 | bb_error_msg("cannot determine if %s is mounted", device); | 82 | bb_error_msg("can't determine if %s is mounted", device); |
83 | return; | 83 | return; |
84 | } | 84 | } |
85 | if (mount_flags & EXT2_MF_MOUNTED) { | 85 | if (mount_flags & EXT2_MF_MOUNTED) { |
@@ -216,7 +216,7 @@ void make_journal_device(char *journal_device, ext2_filsys fs, int quiet, int fo | |||
216 | EXT2_FLAG_JOURNAL_DEV_OK, 0, | 216 | EXT2_FLAG_JOURNAL_DEV_OK, 0, |
217 | fs->blocksize, io_ptr, &jfs); | 217 | fs->blocksize, io_ptr, &jfs); |
218 | if (retval) | 218 | if (retval) |
219 | bb_error_msg_and_die("cannot journal device %s", journal_device); | 219 | bb_error_msg_and_die("can't journal device %s", journal_device); |
220 | if (!quiet) | 220 | if (!quiet) |
221 | printf("Adding journal to device %s: ", journal_device); | 221 | printf("Adding journal to device %s: ", journal_device); |
222 | fflush(stdout); | 222 | fflush(stdout); |
@@ -245,7 +245,7 @@ void make_journal_blocks(ext2_filsys fs, int journal_size, int journal_flags, in | |||
245 | retval = ext2fs_add_journal_inode(fs, journal_blocks, | 245 | retval = ext2fs_add_journal_inode(fs, journal_blocks, |
246 | journal_flags); | 246 | journal_flags); |
247 | if (retval) | 247 | if (retval) |
248 | bb_error_msg_and_die("cannot create journal"); | 248 | bb_error_msg_and_die("can't create journal"); |
249 | if (!quiet) | 249 | if (!quiet) |
250 | puts("done"); | 250 | puts("done"); |
251 | } | 251 | } |