sulogin: cleanup strtoxx_or_err()

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2012-05-15 17:44:19 +02:00
parent 99c95585fc
commit 92bb28a4f6
1 changed files with 1 additions and 1 deletions

View File

@ -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;