summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fdisk/fdisk.c8
-rw-r--r--misc-utils/wipefs.c2
-rw-r--r--mount/swapon.c8
-rw-r--r--schedutils/chrt.c2
-rw-r--r--text-utils/more.c2
5 files changed, 11 insertions, 11 deletions
diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c
index 19bbab5b9..af525badd 100644
--- a/fdisk/fdisk.c
+++ b/fdisk/fdisk.c
@@ -388,7 +388,7 @@ static void
menu(void) {
if (sun_label) {
puts(_("Command action"));
- puts(_(" a toggle a read only flag")); /* sun */
+ puts(_(" a toggle a read only flag")); /* sun */
puts(_(" b edit bsd disklabel"));
puts(_(" c toggle the mountable flag")); /* sun */
puts(_(" d delete a partition"));
@@ -1048,8 +1048,8 @@ update_sector_offset(void)
*/
if (sectors && alignment_offset && !lba_is_aligned(sectors))
fprintf(stderr, _(
- "\nWARNING: the device provides alignment_offset, but "
- "the offset does not \nmatch with device geometry.\n\n"));
+ "\nWARNING: the device provides alignment_offset, but the offset does not\n"
+ "match with device geometry.\n\n"));
} else {
/*
* Align the begin of the first partition to the physical block
@@ -2206,7 +2206,7 @@ verify(void) {
printf(_("Total allocated sectors %llu greater than the maximum"
" %llu\n"), total, n_sectors);
else if (total < n_sectors)
- printf(_("%lld unallocated %d-byte sectors\n"),
+ printf(_("Remaining %lld unallocated %d-byte sectors\n"),
n_sectors - total, sector_size);
}
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c
index a5ea44ac3..a59b5d726 100644
--- a/misc-utils/wipefs.c
+++ b/misc-utils/wipefs.c
@@ -319,7 +319,7 @@ usage(FILE *out)
" -o, --offset <num> offset to erase, in bytes\n"
" -p, --parsable print out in parsable instead of printable format\n"));
- fprintf(out, _("\nFor more information see wipefs(1).\n"));
+ fprintf(out, _("\nFor more information see wipefs(8).\n"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
}
diff --git a/mount/swapon.c b/mount/swapon.c
index a66d59d6d..75ba86533 100644
--- a/mount/swapon.c
+++ b/mount/swapon.c
@@ -347,12 +347,12 @@ swap_get_size(const char *hdr, const char *devname, unsigned int pagesize)
last_page = swab32(s->last_page);
}
if (verbose)
- warnx(_("%s: found %sswap v%d signature string"
- " for %d KiB PAGE_SIZE\n"),
+ warnx(_("%s: found swap signature: version %d, "
+ "page-size %d, %s byte order"),
devname,
- flip ? "other-endian " : "",
swap_version,
- pagesize / 1024);
+ pagesize / 1024,
+ flip ? _("different") : _("same"));
return (last_page + 1) * pagesize;
}
diff --git a/schedutils/chrt.c b/schedutils/chrt.c
index 6728ad3a0..6953addd7 100644
--- a/schedutils/chrt.c
+++ b/schedutils/chrt.c
@@ -239,7 +239,7 @@ int main(int argc, char *argv[])
err(EXIT_FAILURE, _("failed to set pid %d's policy"), pid);
if (verbose)
- show_rt_info("new", pid);
+ show_rt_info(_("new"), pid);
if (!pid) {
argv += optind + 1;
diff --git a/text-utils/more.c b/text-utils/more.c
index a152463c0..2eedfbe1a 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -795,7 +795,7 @@ int prepare_line_buffer(void)
* function when the Line buffer is initilized first time in main()
*/
if (Line)
- error(_("out if memory"));
+ error(_("out of memory"));
return -1;
}