summaryrefslogtreecommitdiffstats
path: root/common/password.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/password.c')
-rw-r--r--common/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/password.c b/common/password.c
index 74d328f..5e6bfc5 100644
--- a/common/password.c
+++ b/common/password.c
@@ -443,7 +443,7 @@ static int login_global_init(void)
{
login_fail_command = xstrdup("boot");
- globalvar_add_simple_int("login.timeout", &login_timeout, "%d");
+ globalvar_add_simple_uint32("login.timeout", &login_timeout, "%u");
globalvar_add_simple_string("login.fail_command", &login_fail_command);
return 0;