diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-10 18:22:49 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-10 18:22:49 +0200 |
commit | 79a603758d3b46fa05a4588f0ca19648fa3601d6 (patch) | |
tree | 862a52d1aa89742b606fa40865acbb4c7d310aff /src/core/dbus-manager.c | |
parent | core: use offsetof() for Syslog{Level,Facility} dbus properties (diff) | |
download | systemd-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.c | 2 |
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( |