diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-11 01:22:49 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-05-11 01:22:49 +0900 |
commit | 79a603758d3b46fa05a4588f0ca19648fa3601d6 (patch) | |
tree | 862a52d1aa89742b606fa40865acbb4c7d310aff /src/core/dbus-manager.c | |
parent | 9d5527f26ef10b97d70f3b127c3cd6778d4f9808 (diff) | |
download | systemd-79a603758d3b46fa05a4588f0ca19648fa3601d6.tar.gz |
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( |