diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-20 13:28:22 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-20 13:28:22 +0000 |
commit | e1a0d486e4804eae098571f1a6788394c2ee51ae (patch) | |
tree | c6f3435738900c8d53832eb919b1b2c3d524f2e5 /e2fsprogs | |
parent | dd2982882bb192ea757f32514bc2ea0bc96f5ba0 (diff) | |
download | busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.tar.gz busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.tar.bz2 busybox-w32-e1a0d486e4804eae098571f1a6788394c2ee51ae.zip |
message string changes, mostly for consistency, also -32 bytes in .rodata
Diffstat (limited to 'e2fsprogs')
-rw-r--r-- | e2fsprogs/blkid/cache.c | 2 | ||||
-rw-r--r-- | e2fsprogs/blkid/devno.c | 2 | ||||
-rw-r--r-- | e2fsprogs/blkid/tag.c | 2 | ||||
-rw-r--r-- | e2fsprogs/e2fsck.c | 6 | ||||
-rw-r--r-- | e2fsprogs/ext2fs/test_io.c | 2 | ||||
-rw-r--r-- | e2fsprogs/fsck.c | 2 | ||||
-rw-r--r-- | e2fsprogs/mke2fs.c | 4 | ||||
-rw-r--r-- | e2fsprogs/tune2fs.c | 2 | ||||
-rw-r--r-- | e2fsprogs/util.c | 6 |
9 files changed, 14 insertions, 14 deletions
diff --git a/e2fsprogs/blkid/cache.c b/e2fsprogs/blkid/cache.c index 57118e1d4..9bae6fb67 100644 --- a/e2fsprogs/blkid/cache.c +++ b/e2fsprogs/blkid/cache.c | |||
@@ -102,7 +102,7 @@ int main(int argc, char** argv) | |||
102 | 102 | ||
103 | blkid_debug_mask = DEBUG_ALL; | 103 | blkid_debug_mask = DEBUG_ALL; |
104 | if ((argc > 2)) { | 104 | if ((argc > 2)) { |
105 | fprintf(stderr, "Usage: %s [filename] \n", argv[0]); | 105 | fprintf(stderr, "Usage: %s [filename]\n", argv[0]); |
106 | exit(1); | 106 | exit(1); |
107 | } | 107 | } |
108 | 108 | ||
diff --git a/e2fsprogs/blkid/devno.c b/e2fsprogs/blkid/devno.c index be93666be..4f3dd93cd 100644 --- a/e2fsprogs/blkid/devno.c +++ b/e2fsprogs/blkid/devno.c | |||
@@ -170,7 +170,7 @@ char *blkid_devno_to_devname(dev_t devno) | |||
170 | 170 | ||
171 | if (!devname) { | 171 | if (!devname) { |
172 | DBG(DEBUG_DEVNO, | 172 | DBG(DEBUG_DEVNO, |
173 | printf("blkid: couldn't find devno 0x%04lx\n", | 173 | printf("blkid: cannot find devno 0x%04lx\n", |
174 | (unsigned long) devno)); | 174 | (unsigned long) devno)); |
175 | } else { | 175 | } else { |
176 | DBG(DEBUG_DEVNO, | 176 | DBG(DEBUG_DEVNO, |
diff --git a/e2fsprogs/blkid/tag.c b/e2fsprogs/blkid/tag.c index 09712bab7..3bbd4c1f4 100644 --- a/e2fsprogs/blkid/tag.c +++ b/e2fsprogs/blkid/tag.c | |||
@@ -408,7 +408,7 @@ int main(int argc, char **argv) | |||
408 | 408 | ||
409 | dev = blkid_get_dev(cache, devname, flags); | 409 | dev = blkid_get_dev(cache, devname, flags); |
410 | if (!dev) { | 410 | if (!dev) { |
411 | fprintf(stderr, "%s: Can not find device in blkid cache\n"); | 411 | fprintf(stderr, "%s: cannot find device in blkid cache\n"); |
412 | exit(1); | 412 | exit(1); |
413 | } | 413 | } |
414 | if (search_type) { | 414 | if (search_type) { |
diff --git a/e2fsprogs/e2fsck.c b/e2fsprogs/e2fsck.c index 28139f4ea..77edbd871 100644 --- a/e2fsprogs/e2fsck.c +++ b/e2fsprogs/e2fsck.c | |||
@@ -6721,7 +6721,7 @@ static int update_dir_block(ext2_filsys fs FSCK_ATTR((unused)), | |||
6721 | * Then, pass3 interates over all directory inodes; for each directory | 6721 | * Then, pass3 interates over all directory inodes; for each directory |
6722 | * it attempts to trace up the filesystem tree, using dirinfo.parent | 6722 | * it attempts to trace up the filesystem tree, using dirinfo.parent |
6723 | * until it reaches a directory which has been marked "done". If it | 6723 | * until it reaches a directory which has been marked "done". If it |
6724 | * can not do so, then the directory must be disconnected, and e2fsck | 6724 | * cannot do so, then the directory must be disconnected, and e2fsck |
6725 | * will offer to reconnect it to /lost+found. While it is chasing | 6725 | * will offer to reconnect it to /lost+found. While it is chasing |
6726 | * parent pointers up the filesystem tree, if pass3 sees a directory | 6726 | * parent pointers up the filesystem tree, if pass3 sees a directory |
6727 | * twice, then it has detected a filesystem loop, and it will again | 6727 | * twice, then it has detected a filesystem loop, and it will again |
@@ -8587,7 +8587,7 @@ static const struct e2fsck_problem problem_table[] = { | |||
8587 | 8587 | ||
8588 | /* Bad primary block */ | 8588 | /* Bad primary block */ |
8589 | { PR_1_BAD_PRIMARY_BLOCK, | 8589 | { PR_1_BAD_PRIMARY_BLOCK, |
8590 | N_("\nIf the @b is really bad, the @f can not be fixed.\n"), | 8590 | N_("\nIf the @b is really bad, the @f cannot be fixed.\n"), |
8591 | PROMPT_NONE, PR_AFTER_CODE, PR_1_BAD_PRIMARY_BLOCK_PROMPT }, | 8591 | PROMPT_NONE, PR_AFTER_CODE, PR_1_BAD_PRIMARY_BLOCK_PROMPT }, |
8592 | 8592 | ||
8593 | /* Bad primary block prompt */ | 8593 | /* Bad primary block prompt */ |
@@ -8952,7 +8952,7 @@ static const struct e2fsck_problem problem_table[] = { | |||
8952 | 8952 | ||
8953 | /* File has duplicate blocks */ | 8953 | /* File has duplicate blocks */ |
8954 | { PR_1D_DUP_FILE, | 8954 | { PR_1D_DUP_FILE, |
8955 | N_("File %Q (@i #%i, mod time %IM) \n" | 8955 | N_("File %Q (@i #%i, mod time %IM)\n" |
8956 | " has %B @m @b(s), shared with %N file(s):\n"), | 8956 | " has %B @m @b(s), shared with %N file(s):\n"), |
8957 | PROMPT_NONE, 0 }, | 8957 | PROMPT_NONE, 0 }, |
8958 | 8958 | ||
diff --git a/e2fsprogs/ext2fs/test_io.c b/e2fsprogs/ext2fs/test_io.c index fb029e2f1..bd74225c0 100644 --- a/e2fsprogs/ext2fs/test_io.c +++ b/e2fsprogs/ext2fs/test_io.c | |||
@@ -111,7 +111,7 @@ static void test_dump_block(io_channel channel, | |||
111 | for (i=0, cp = buf; i < channel->block_size; i++, cp++) { | 111 | for (i=0, cp = buf; i < channel->block_size; i++, cp++) { |
112 | cksum += *cp; | 112 | cksum += *cp; |
113 | } | 113 | } |
114 | fprintf(f, "Contents of block %lu, checksum %08lu: \n", block, cksum); | 114 | fprintf(f, "Contents of block %lu, checksum %08lu:\n", block, cksum); |
115 | for (i=0, cp = buf; i < channel->block_size; i++, cp++) { | 115 | for (i=0, cp = buf; i < channel->block_size; i++, cp++) { |
116 | if ((i % 16) == 0) | 116 | if ((i % 16) == 0) |
117 | fprintf(f, "%04x: ", i); | 117 | fprintf(f, "%04x: ", i); |
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c index e2f600329..06ba4b206 100644 --- a/e2fsprogs/fsck.c +++ b/e2fsprogs/fsck.c | |||
@@ -102,7 +102,7 @@ struct fsck_instance { | |||
102 | * Return the "base device" given a particular device; this is used to | 102 | * Return the "base device" given a particular device; this is used to |
103 | * assure that we only fsck one partition on a particular drive at any | 103 | * assure that we only fsck one partition on a particular drive at any |
104 | * one time. Otherwise, the disk heads will be seeking all over the | 104 | * one time. Otherwise, the disk heads will be seeking all over the |
105 | * place. If the base device can not be determined, return NULL. | 105 | * place. If the base device cannot be determined, return NULL. |
106 | * | 106 | * |
107 | * The base_device() function returns an allocated string which must | 107 | * The base_device() function returns an allocated string which must |
108 | * be freed. | 108 | * be freed. |
diff --git a/e2fsprogs/mke2fs.c b/e2fsprogs/mke2fs.c index f2cce75a3..30110f8b6 100644 --- a/e2fsprogs/mke2fs.c +++ b/e2fsprogs/mke2fs.c | |||
@@ -247,7 +247,7 @@ static void test_disk(ext2_filsys fs, badblocks_list *bb_list) | |||
247 | mke2fs_verbose("Running command: %s\n", buf); | 247 | mke2fs_verbose("Running command: %s\n", buf); |
248 | f = popen(buf, "r"); | 248 | f = popen(buf, "r"); |
249 | if (!f) { | 249 | if (!f) { |
250 | bb_perror_msg_and_die("Could not run '%s'", buf); | 250 | bb_perror_msg_and_die("cannot run '%s'", buf); |
251 | } | 251 | } |
252 | retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); | 252 | retval = ext2fs_read_bb_FILE(fs, f, bb_list, invalid_block); |
253 | pclose(f); | 253 | pclose(f); |
@@ -1332,7 +1332,7 @@ int mke2fs_main (int argc, char *argv[]) | |||
1332 | retval = zero_blocks(fs, start, blocks - start, | 1332 | retval = zero_blocks(fs, start, blocks - start, |
1333 | NULL, &ret_blk, NULL); | 1333 | NULL, &ret_blk, NULL); |
1334 | 1334 | ||
1335 | mke2fs_warning_msg(retval, "could not zero block %u at end of filesystem", ret_blk); | 1335 | mke2fs_warning_msg(retval, "cannot zero block %u at end of filesystem", ret_blk); |
1336 | write_inode_tables(fs); | 1336 | write_inode_tables(fs); |
1337 | create_root_dir(fs); | 1337 | create_root_dir(fs); |
1338 | create_lost_and_found(fs); | 1338 | create_lost_and_found(fs); |
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c index 01ba31c68..d22deede2 100644 --- a/e2fsprogs/tune2fs.c +++ b/e2fsprogs/tune2fs.c | |||
@@ -615,7 +615,7 @@ int tune2fs_main(int argc, char **argv) | |||
615 | } | 615 | } |
616 | retval = ext2fs_check_if_mounted(device_name, &mount_flags); | 616 | retval = ext2fs_check_if_mounted(device_name, &mount_flags); |
617 | if (retval) | 617 | if (retval) |
618 | bb_error_msg_and_die("Could not determine if %s is mounted", device_name); | 618 | bb_error_msg_and_die("cannot determine if %s is mounted", device_name); |
619 | /* Normally we only need to write out the superblock */ | 619 | /* Normally we only need to write out the superblock */ |
620 | fs->flags |= EXT2_FLAG_SUPER_ONLY; | 620 | fs->flags |= EXT2_FLAG_SUPER_ONLY; |
621 | 621 | ||
diff --git a/e2fsprogs/util.c b/e2fsprogs/util.c index e68c457e7..b30c294b8 100644 --- a/e2fsprogs/util.c +++ b/e2fsprogs/util.c | |||
@@ -82,7 +82,7 @@ void check_mount(const char *device, int force, const char *type) | |||
82 | 82 | ||
83 | retval = ext2fs_check_if_mounted(device, &mount_flags); | 83 | retval = ext2fs_check_if_mounted(device, &mount_flags); |
84 | if (retval) { | 84 | if (retval) { |
85 | bb_error_msg("Could not determine if %s is mounted", device); | 85 | bb_error_msg("cannot determine if %s is mounted", device); |
86 | return; | 86 | return; |
87 | } | 87 | } |
88 | if (mount_flags & EXT2_MF_MOUNTED) { | 88 | if (mount_flags & EXT2_MF_MOUNTED) { |
@@ -219,7 +219,7 @@ void make_journal_device(char *journal_device, ext2_filsys fs, int quiet, int fo | |||
219 | EXT2_FLAG_JOURNAL_DEV_OK, 0, | 219 | EXT2_FLAG_JOURNAL_DEV_OK, 0, |
220 | fs->blocksize, io_ptr, &jfs); | 220 | fs->blocksize, io_ptr, &jfs); |
221 | if (retval) | 221 | if (retval) |
222 | bb_error_msg_and_die("Could not journal device %s", journal_device); | 222 | bb_error_msg_and_die("cannot journal device %s", journal_device); |
223 | if(!quiet) | 223 | if(!quiet) |
224 | printf("Adding journal to device %s: ", journal_device); | 224 | printf("Adding journal to device %s: ", journal_device); |
225 | fflush(stdout); | 225 | fflush(stdout); |
@@ -248,7 +248,7 @@ void make_journal_blocks(ext2_filsys fs, int journal_size, int journal_flags, in | |||
248 | retval = ext2fs_add_journal_inode(fs, journal_blocks, | 248 | retval = ext2fs_add_journal_inode(fs, journal_blocks, |
249 | journal_flags); | 249 | journal_flags); |
250 | if(retval) | 250 | if(retval) |
251 | bb_error_msg_and_die("Could not create journal"); | 251 | bb_error_msg_and_die("cannot create journal"); |
252 | if(!quiet) | 252 | if(!quiet) |
253 | puts("done"); | 253 | puts("done"); |
254 | } | 254 | } |