summaryrefslogtreecommitdiff
path: root/src/hostname/hostnamectl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-06 17:32:51 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-06 17:32:51 +0100
commit84f6181c2ac99a0514ca5e0c8fc8c8e284caf789 (patch)
tree2496dfa8c63334faa132853647eb8acca415e752 /src/hostname/hostnamectl.c
parent66b1e746055b9c56fd72c0451a4cfb2b06cf3f20 (diff)
clients: various simplifications
Diffstat (limited to 'src/hostname/hostnamectl.c')
-rw-r--r--src/hostname/hostnamectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamectl.c b/src/hostname/hostnamectl.c
index cc7db67d79..d8657fa4dd 100644
--- a/src/hostname/hostnamectl.c
+++ b/src/hostname/hostnamectl.c
@@ -458,8 +458,8 @@ static int hostnamectl_main(sd_bus *bus, int argc, char *argv[]) {
}
int main(int argc, char *argv[]) {
- int r;
_cleanup_bus_unref_ sd_bus *bus = NULL;
+ int r;
setlocale(LC_ALL, "");
log_parse_environment();