]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
wdctl: gettextize and pluralize one forgotten message
authorBenno Schulenberg <bensberg@justemail.net>
Sat, 5 Oct 2013 21:12:23 +0000 (23:12 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2013 13:27:36 +0000 (15:27 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
sys-utils/wdctl.c

index 2698853e9eeff5ff408f83f6d8bb4ea63d9d3d6c..71309188e7f61d0318041f894e673351101a5cea 100644 (file)
@@ -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;
 }