diff options
Diffstat (limited to 'src/locale')
-rw-r--r-- | src/locale/localectl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 7d3ac0ad2f..fa73bcaac6 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -19,6 +19,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include <locale.h> #include <stdlib.h> #include <stdbool.h> #include <unistd.h> @@ -740,6 +741,7 @@ int main(int argc, char *argv[]) { dbus_error_init(&error); + setlocale(LC_ALL, ""); log_parse_environment(); log_open(); |