From 0927756b8d2d8040e5ac69f3bb05182b69939dc2 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Thu, 14 Nov 2013 22:19:19 +0100 Subject: bus: typo Fix a couple of 'void' that should have been 'sd_bus'. --- src/libsystemd-bus/sd-bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3-54-g00ecf