diff options
Diffstat (limited to 'libglusterfs')
| -rw-r--r-- | libglusterfs/src/logging.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c index e82e0247234..ab7b96a54d4 100644 --- a/libglusterfs/src/logging.c +++ b/libglusterfs/src/logging.c @@ -501,6 +501,7 @@ gf_openlog (const char *ident, int option, int facility)          /* TODO: Should check for errors here and return appropriately */          setlocale(LC_ALL, ""); +        setlocale(LC_NUMERIC, "C"); /* C-locale for strtod, ... */          /* close the previous syslog if open as we are changing settings */          closelog ();          openlog(ident, _option, _facility);  | 
