diff options
Diffstat (limited to 'libbb')
-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) | |||
73 | #else | 73 | #else |
74 | duration_t FAST_FUNC parse_duration_str(char *str) | 74 | duration_t FAST_FUNC parse_duration_str(char *str) |
75 | { | 75 | { |
76 | return xatou_range_sfx(*argv, 0, UINT_MAX, duration_suffixes); | 76 | return xatou_range_sfx(str, 0, UINT_MAX, duration_suffixes); |
77 | } | 77 | } |
78 | #endif | 78 | #endif |