summaryrefslogtreecommitdiffstats
path: root/lib/c_strtod.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:33:34 +0000
commit1272be04be0cb803eec87f602edb2e3e6f111aea (patch)
treebce17f6478cdd9f3c4ec3d751135dc42786d6a56 /lib/c_strtod.c
parentReleasing progress-linux version 2.39.3-11~progress7.99u1. (diff)
downloadutil-linux-1272be04be0cb803eec87f602edb2e3e6f111aea.tar.xz
util-linux-1272be04be0cb803eec87f602edb2e3e6f111aea.zip
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/c_strtod.c')
-rw-r--r--lib/c_strtod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/c_strtod.c b/lib/c_strtod.c
index d25ee27..d7d8cbe 100644
--- a/lib/c_strtod.c
+++ b/lib/c_strtod.c
@@ -50,10 +50,10 @@ double c_strtod(char const *str, char **end)
return strtod_l(str, end, cl);
#elif defined(HAVE_USELOCALE)
/*
- * B) classic strtod(), but switch to "C" locale by uselocal()
+ * B) classic strtod(), but switch to "C" locale by uselocale()
*/
if (cl) {
- locale_t org_cl = uselocale(locale);
+ locale_t org_cl = uselocale(cl);
if (!org_cl)
return 0;