aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/sleep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/sleep.c b/coreutils/sleep.c
index 9acb2d15f..433f9d6ee 100644
--- a/coreutils/sleep.c
+++ b/coreutils/sleep.c
@@ -50,7 +50,8 @@ int sleep_main(int argc UNUSED_PARAM, char **argv)
#if ENABLE_FEATURE_FLOAT_SLEEP
# if ENABLE_LOCALE_SUPPORT
- setlocale (LC_NUMERIC, "C");
+ /* undo busybox.c setlocale */
+ setlocale(LC_NUMERIC, "C");
# endif
duration = 0;
do {