summaryrefslogtreecommitdiffstats
path: root/src/core/dbus-manager.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-05-10 18:22:49 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-05-10 18:22:49 +0200
commit79a603758d3b46fa05a4588f0ca19648fa3601d6 (patch)
tree862a52d1aa89742b606fa40865acbb4c7d310aff /src/core/dbus-manager.c
parentcore: use offsetof() for Syslog{Level,Facility} dbus properties (diff)
downloadsystemd-79a603758d3b46fa05a4588f0ca19648fa3601d6.tar.xz
systemd-79a603758d3b46fa05a4588f0ca19648fa3601d6.zip
core: send NULL instead of empty string
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r--src/core/dbus-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index de6aaba229..ced5d06bd4 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -99,7 +99,7 @@ static int property_get_virtualization(
return sd_bus_message_append(
reply, "s",
- v == VIRTUALIZATION_NONE ? "" : virtualization_to_string(v));
+ v == VIRTUALIZATION_NONE ? NULL : virtualization_to_string(v));
}
static int property_get_architecture(