*: use "can't" instead of "cannot"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -35,7 +35,7 @@ void check_plausibility(const char *device, int force)
|
||||
if (force)
|
||||
return;
|
||||
if (val == -1)
|
||||
bb_perror_msg_and_die("cannot stat %s", device);
|
||||
bb_perror_msg_and_die("can't stat %s", device);
|
||||
if (!S_ISBLK(s.st_mode)) {
|
||||
printf("%s is not a block special device.\n", device);
|
||||
proceed_question();
|
||||
@ -79,7 +79,7 @@ void check_mount(const char *device, int force, const char *type)
|
||||
|
||||
retval = ext2fs_check_if_mounted(device, &mount_flags);
|
||||
if (retval) {
|
||||
bb_error_msg("cannot determine if %s is mounted", device);
|
||||
bb_error_msg("can't determine if %s is mounted", device);
|
||||
return;
|
||||
}
|
||||
if (mount_flags & EXT2_MF_MOUNTED) {
|
||||
@ -216,7 +216,7 @@ void make_journal_device(char *journal_device, ext2_filsys fs, int quiet, int fo
|
||||
EXT2_FLAG_JOURNAL_DEV_OK, 0,
|
||||
fs->blocksize, io_ptr, &jfs);
|
||||
if (retval)
|
||||
bb_error_msg_and_die("cannot journal device %s", journal_device);
|
||||
bb_error_msg_and_die("can't journal device %s", journal_device);
|
||||
if (!quiet)
|
||||
printf("Adding journal to device %s: ", journal_device);
|
||||
fflush(stdout);
|
||||
@ -245,7 +245,7 @@ void make_journal_blocks(ext2_filsys fs, int journal_size, int journal_flags, in
|
||||
retval = ext2fs_add_journal_inode(fs, journal_blocks,
|
||||
journal_flags);
|
||||
if (retval)
|
||||
bb_error_msg_and_die("cannot create journal");
|
||||
bb_error_msg_and_die("can't create journal");
|
||||
if (!quiet)
|
||||
puts("done");
|
||||
}
|
||||
|
Reference in New Issue
Block a user