diff options
author | Karel Zak | 2012-05-15 17:44:19 +0200 |
---|---|---|
committer | Karel Zak | 2012-05-15 17:44:19 +0200 |
commit | 92bb28a4f6989ece5c6cf6bd9189346500c01bfe (patch) | |
tree | 3bfad28ed0b2d2d09bbbfa7339c862220ade6410 /login-utils/sulogin.c | |
parent | hwclock: cleanup strtoxx_or_err() (diff) | |
download | kernel-qcow2-util-linux-92bb28a4f6989ece5c6cf6bd9189346500c01bfe.tar.gz kernel-qcow2-util-linux-92bb28a4f6989ece5c6cf6bd9189346500c01bfe.tar.xz kernel-qcow2-util-linux-92bb28a4f6989ece5c6cf6bd9189346500c01bfe.zip |
sulogin: cleanup strtoxx_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/sulogin.c')
-rw-r--r-- | login-utils/sulogin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c index ee725b588..7750ad957 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; |