diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-08-26 16:32:16 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-08-26 16:32:16 +0200 |
commit | 6791140123ebe7535f525f1a893a8536219122c4 (patch) | |
tree | bc265c0517e9fbb49b3ad7a18d3f9bd3b6d62c53 /libbb/duration.c | |
parent | 78a5ef9d2c034b5a6314fb66279160331d25cc73 (diff) |
fix !CONFIG_FLOAT_DURATION build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/duration.c')
-rw-r--r-- | libbb/duration.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |