From 6791140123ebe7535f525f1a893a8536219122c4 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 26 Aug 2018 16:32:16 +0200 Subject: [PATCH] fix !CONFIG_FLOAT_DURATION build Signed-off-by: Denys Vlasenko --- libbb/duration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1