summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/sd-bus.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-11-14 22:19:19 +0100
committerTom Gundersen <teg@jklm.no>2013-11-14 22:19:48 +0100
commit0927756b8d2d8040e5ac69f3bb05182b69939dc2 (patch)
treedac4bda41bf5ac2245fd57e90c3ed9e7cac6e5b8 /src/libsystemd-bus/sd-bus.c
parent81eca919f7cfa88bad8df7d7eac012f367c4c303 (diff)
bus: typo
Fix a couple of 'void' that should have been 'sd_bus'.
Diffstat (limited to 'src/libsystemd-bus/sd-bus.c')
-rw-r--r--src/libsystemd-bus/sd-bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c
index 89437c161c..95469d8263 100644
--- a/src/libsystemd-bus/sd-bus.c
+++ b/src/libsystemd-bus/sd-bus.c
@@ -2299,7 +2299,7 @@ bool bus_pid_changed(sd_bus *bus) {
}
static int io_callback(sd_event_source *s, int fd, uint32_t revents, void *userdata) {
- void *bus = userdata;
+ sd_bus *bus = userdata;
int r;
assert(bus);
@@ -2312,7 +2312,7 @@ static int io_callback(sd_event_source *s, int fd, uint32_t revents, void *userd
}
static int time_callback(sd_event_source *s, uint64_t usec, void *userdata) {
- void *bus = userdata;
+ sd_bus *bus = userdata;
int r;
assert(bus);