summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--disk-utils/blockdev.c4
-rw-r--r--disk-utils/mkfs.minix.c2
-rw-r--r--misc-utils/uuidd.c6
-rw-r--r--mount/swapon.c6
-rw-r--r--sys-utils/lscpu.c2
-rw-r--r--sys-utils/tunelp.c6
6 files changed, 13 insertions, 13 deletions
diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c
index eeaf2f5c6..cf594d12e 100644
--- a/disk-utils/blockdev.c
+++ b/disk-utils/blockdev.c
@@ -177,7 +177,7 @@ usage(void) {
int i;
fputc('\n', stderr);
fprintf(stderr, _("Usage:\n"));
- fprintf(stderr, " %s -V\n", progname);
+ fprintf(stderr, _(" %s -V\n"), progname);
fprintf(stderr, _(" %s --report [devices]\n"), progname);
fprintf(stderr, _(" %s [-v|-q] commands devices\n"), progname);
fputc('\n', stderr);
@@ -235,7 +235,7 @@ main(int argc, char **argv) {
/* -V not together with commands */
if (!strcmp(argv[1], "-V") || !strcmp(argv[1], "--version")) {
- printf("%s (%s)\n", progname, PACKAGE_STRING);
+ printf(_("%s (%s)\n"), progname, PACKAGE_STRING);
exit(0);
}
diff --git a/disk-utils/mkfs.minix.c b/disk-utils/mkfs.minix.c
index c52afbd77..5f01f2ba3 100644
--- a/disk-utils/mkfs.minix.c
+++ b/disk-utils/mkfs.minix.c
@@ -149,7 +149,7 @@ die(char *str) {
static void
usage(void) {
- fprintf(stderr, "%s (%s)\n", program_name, PACKAGE_STRING);
+ fprintf(stderr, _("%s (%s)\n"), program_name, PACKAGE_STRING);
fprintf(stderr,
_("Usage: %s [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]\n"),
program_name);
diff --git a/misc-utils/uuidd.c b/misc-utils/uuidd.c
index a6d2f696a..716a5824a 100644
--- a/misc-utils/uuidd.c
+++ b/misc-utils/uuidd.c
@@ -241,7 +241,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path,
fd_pidfile = open(pidfile_path, O_CREAT | O_RDWR, 0664);
if (fd_pidfile < 0) {
if (!quiet)
- fprintf(stderr, "Failed to open/create %s: %s\n",
+ fprintf(stderr, _("Failed to open/create %s: %s\n"),
pidfile_path, strerror(errno));
exit(1);
}
@@ -258,7 +258,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path,
if ((errno == EAGAIN) || (errno == EINTR))
continue;
if (!quiet)
- fprintf(stderr, "Failed to lock %s: %s\n",
+ fprintf(stderr, _("Failed to lock %s: %s\n"),
pidfile_path, strerror(errno));
exit(1);
}
@@ -359,7 +359,7 @@ static void server_loop(const char *socket_path, const char *pidfile_path,
printf(_("operation %d, incoming num = %d\n"),
op, num);
} else if (debug)
- printf("operation %d\n", op);
+ printf(_("operation %d\n"), op);
switch(op) {
case UUIDD_OP_GETPID:
diff --git a/mount/swapon.c b/mount/swapon.c
index 4ee3c2f75..c7006550e 100644
--- a/mount/swapon.c
+++ b/mount/swapon.c
@@ -425,7 +425,7 @@ swapon_checks(const char *special)
unsigned long long swapsize =
swap_get_size(hdr, special, pagesize);
if (verbose)
- warnx("%s: pagesize=%d, swapsize=%llu, devsize=%llu",
+ warnx(_("%s: pagesize=%d, swapsize=%llu, devsize=%llu"),
special, pagesize, swapsize, devsize);
if (swapsize > devsize) {
@@ -663,7 +663,7 @@ main_swapon(int argc, char *argv[]) {
++verbose;
break;
case 'V': /* version */
- printf("%s: (%s)\n", progname, PACKAGE_STRING);
+ printf(_("%s (%s)\n"), progname, PACKAGE_STRING);
exit(0);
case 0:
break;
@@ -715,7 +715,7 @@ main_swapoff(int argc, char *argv[]) {
++verbose;
break;
case 'V': /* version */
- printf("%s (%s)\n", progname, PACKAGE_STRING);
+ printf(_("%s (%s)\n"), progname, PACKAGE_STRING);
exit(0);
case 'L':
addl(optarg);
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
index 780f1d624..72d1054b9 100644
--- a/sys-utils/lscpu.c
+++ b/sys-utils/lscpu.c
@@ -735,7 +735,7 @@ print_readable(struct lscpu_desc *desc)
char buf[512];
int i;
- print_s("Architecture:", desc->arch);
+ print_s(_("Architecture:"), desc->arch);
if (desc->mode & (MODE_REAL | MODE_TRANSPARENT | MODE_LONG)) {
char buf[64], *p = buf;
diff --git a/sys-utils/tunelp.c b/sys-utils/tunelp.c
index 619cf422e..00ad5b765 100644
--- a/sys-utils/tunelp.c
+++ b/sys-utils/tunelp.c
@@ -81,7 +81,7 @@ print_usage(char *progname) {
static void
print_version(char *progname) {
- printf("%s (%s)\n", progname, PACKAGE_STRING);
+ printf(_("%s (%s)\n"), progname, PACKAGE_STRING);
}
static void *
@@ -256,7 +256,7 @@ main (int argc, char ** argv) {
status = 0xdeadbeef;
retval = ioctl(fd, LPGETSTATUS - offset, &status);
if (retval < 0)
- perror("LPGETSTATUS error");
+ perror(_("LPGETSTATUS error"));
else {
if (status == 0xdeadbeef) /* a few 1.1.7x kernels will do this */
status = retval;
@@ -271,7 +271,7 @@ main (int argc, char ** argv) {
} else
#endif /* LPGETSTATUS */
if (ioctl(fd, cmds->op - offset, cmds->val) < 0) {
- perror("tunelp: ioctl");
+ perror(_("tunelp: ioctl failed"));
}
cmdst = cmds;
cmds = cmds->next;