summaryrefslogtreecommitdiffstats
path: root/sys-utils/wdctl.c
diff options
context:
space:
mode:
authorBenno Schulenberg2013-10-05 23:12:23 +0200
committerKarel Zak2013-10-08 15:27:36 +0200
commit5b831eb19959c798412eb165915289ac237ba7d3 (patch)
treeb1325a0d868ccad498c8f20b2906100feb523f84 /sys-utils/wdctl.c
parentpartx: correct three messages (diff)
downloadkernel-qcow2-util-linux-5b831eb19959c798412eb165915289ac237ba7d3.tar.gz
kernel-qcow2-util-linux-5b831eb19959c798412eb165915289ac237ba7d3.tar.xz
kernel-qcow2-util-linux-5b831eb19959c798412eb165915289ac237ba7d3.zip
wdctl: gettextize and pluralize one forgotten message
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/wdctl.c')
-rw-r--r--sys-utils/wdctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-utils/wdctl.c b/sys-utils/wdctl.c
index 2698853e9..71309188e 100644
--- a/sys-utils/wdctl.c
+++ b/sys-utils/wdctl.c
@@ -334,7 +334,8 @@ static int set_watchdog(struct wdinfo *wd, int timeout)
if (close_fd(fd))
warn(_("write failed"));
sigprocmask(SIG_SETMASK, &oldsigs, NULL);
- printf("Set timeout to %d seconds\n", timeout);
+ printf(P_("Timeout has been set to %d second.\n",
+ "Timeout has been set to %d seconds.\n", timeout), timeout);
return rc;
}