chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tree-wide: there is no ENOTSUP on linux
[elogind.git]
/
src
/
libsystemd
/
sd-bus
/
sd-bus.c
diff --git
a/src/libsystemd/sd-bus/sd-bus.c
b/src/libsystemd/sd-bus/sd-bus.c
index e0b32730b700f03e3273282db4c38760a8f00f75..2cb1aafa2b147914650bf6135413227682764100 100644
(file)
--- a/
src/libsystemd/sd-bus/sd-bus.c
+++ b/
src/libsystemd/sd-bus/sd-bus.c
@@
-1706,7
+1706,7
@@
static int bus_send_internal(sd_bus *bus, sd_bus_message *_m, uint64_t *cookie,
if (r < 0)
return r;
if (r == 0)
if (r < 0)
return r;
if (r == 0)
- return -E
NOTSU
P;
+ return -E
OPNOTSUP
P;
}
/* If the cookie number isn't kept, then we know that no reply
}
/* If the cookie number isn't kept, then we know that no reply
@@
-3398,7
+3398,7
@@
_public_ int sd_bus_try_close(sd_bus *bus) {
assert_return(!bus_pid_changed(bus), -ECHILD);
if (!bus->is_kernel)
assert_return(!bus_pid_changed(bus), -ECHILD);
if (!bus->is_kernel)
- return -E
NOTSU
P;
+ return -E
OPNOTSUP
P;
if (!BUS_IS_OPEN(bus->state))
return -ENOTCONN;
if (!BUS_IS_OPEN(bus->state))
return -ENOTCONN;