diff options
-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 2f27277..5acd0db 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 |