fix !CONFIG_FLOAT_DURATION build

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-08-26 16:32:16 +02:00
parent 78a5ef9d2c
commit 6791140123

View File

@ -73,6 +73,6 @@ void FAST_FUNC sleep_for_duration(duration_t duration)
#else #else
duration_t FAST_FUNC parse_duration_str(char *str) 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 #endif