diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-21 02:11:06 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-21 02:11:06 +0100 |
commit | 14c24659cdc98e26049b98b965382a0c44eae008 (patch) | |
tree | 91c016bb26876391016c36c1f36111df0cbf4b9f /src/libsystemd-bus/test-bus-chat.c | |
parent | bus: let's simplify things by getting rid of unnecessary bus parameters (diff) | |
download | systemd-14c24659cdc98e26049b98b965382a0c44eae008.tar.xz systemd-14c24659cdc98e26049b98b965382a0c44eae008.zip |
bus: rename SD_BUS_ERROR_MAKE to SD_BUS_ERROR_MAKE_CONST to indicate it only works for const strings
Diffstat (limited to 'src/libsystemd-bus/test-bus-chat.c')
-rw-r--r-- | src/libsystemd-bus/test-bus-chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/test-bus-chat.c b/src/libsystemd-bus/test-bus-chat.c index 8c344f6edb..0c66dc794a 100644 --- a/src/libsystemd-bus/test-bus-chat.c +++ b/src/libsystemd-bus/test-bus-chat.c @@ -246,7 +246,7 @@ static int server(sd_bus *bus) { r = sd_bus_reply_method_error( m, - &SD_BUS_ERROR_MAKE(SD_BUS_ERROR_UNKNOWN_METHOD, "Unknown method.")); + &SD_BUS_ERROR_MAKE_CONST(SD_BUS_ERROR_UNKNOWN_METHOD, "Unknown method.")); if (r < 0) { log_error("Failed to send reply: %s", strerror(-r)); goto fail; |