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"));
*/
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
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);
}
" -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);
}
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;
}
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;
* function when the Line buffer is initilized first time in main()
*/
if (Line)
- error(_("out if memory"));
+ error(_("out of memory"));
return -1;
}