summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c
index a0c9fe8..f465e2c 100644
--- a/common/main.c
+++ b/common/main.c
@@ -505,7 +505,7 @@ void init_cmd_timeout(void)
char *s = getenv ("bootretry");
if (s != NULL)
- retry_time = (int)simple_strtoul(s, NULL, 10);
+ retry_time = (int)simple_strtol(s, NULL, 10);
else
retry_time = CONFIG_BOOT_RETRY_TIME;