chiark / gitweb /
bootchart: parse /etc/os-release rather than system-release
[elogind.git] / src / hostname / hostnamectl.c
index e38be89b37f127e6e88b893d2d2882d4666ddcf5..7945c86b5f791c90fd2efd8fa712333369561ba4 100644 (file)
@@ -36,6 +36,7 @@
 #include "strv.h"
 #include "sd-id128.h"
 #include "virt.h"
+#include "fileio.h"
 
 static enum transport {
         TRANSPORT_NORMAL,
@@ -406,7 +407,6 @@ static int parse_argv(int argc, char *argv[]) {
 
                 case ARG_VERSION:
                         puts(PACKAGE_STRING);
-                        puts(DISTRIBUTION);
                         puts(SYSTEMD_FEATURES);
                         return 0;