From: Karel Zak Date: Tue, 15 May 2012 15:44:19 +0000 (+0200) Subject: sulogin: cleanup strtoxx_or_err() X-Git-Tag: v2.22-rc1~405 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92bb28a4f6989ece5c6cf6bd9189346500c01bfe;p=thirdparty%2Futil-linux.git sulogin: cleanup strtoxx_or_err() Signed-off-by: Karel Zak --- diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c index ee725b5886..7750ad9577 100644 --- a/login-utils/sulogin.c +++ b/login-utils/sulogin.c @@ -485,7 +485,7 @@ int main(int argc, char **argv) while ((c = getopt_long(argc, argv, "ehpt:V", longopts, NULL)) != -1) { switch(c) { case 't': - timeout = strtoul_or_err(optarg, _("failed to parse timeout")); + timeout = strtou32_or_err(optarg, _("invalid timeout argument")); break; case 'p': profile = 1;