From: Denys Vlasenko Date: Sun, 26 Aug 2018 14:32:16 +0000 (+0200) Subject: fix !CONFIG_FLOAT_DURATION build X-Git-Tag: 1_30_0~458 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6791140123ebe7535f525f1a893a8536219122c4;p=oweals%2Fbusybox.git fix !CONFIG_FLOAT_DURATION build Signed-off-by: Denys Vlasenko --- diff --git a/libbb/duration.c b/libbb/duration.c index 2f272771f..5acd0dba3 100644 --- a/libbb/duration.c +++ b/libbb/duration.c @@ -73,6 +73,6 @@ void FAST_FUNC sleep_for_duration(duration_t duration) #else duration_t FAST_FUNC parse_duration_str(char *str) { - return xatou_range_sfx(*argv, 0, UINT_MAX, duration_suffixes); + return xatou_range_sfx(str, 0, UINT_MAX, duration_suffixes); } #endif