[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    [git commit] fix !CONFIG_FLOAT_DURATION build
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2018-08-26 14:32:16
Message-ID: 20180826142432.4E3358E67D () busybox ! osuosl ! org
[Download RAW message or body]

commit: https://git.busybox.net/busybox/commit/?id=6791140123ebe7535f525f1a893a8536219122c4
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
 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
_______________________________________________
busybox-cvs mailing list
busybox-cvs@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic