Message ID | 1386936854-8399-10-git-send-email-hare@suse.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | christophe varoqui |
Headers | show |
diff --git a/multipathd/main.c b/multipathd/main.c index 1a1aa2d..7058147 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -836,6 +836,8 @@ out: static void * ueventloop (void * ap) { + struct udev *udev = ap; + if (uevent_listen(udev)) condlog(0, "error starting uevent listener");
The udev context is passed as argument to ueventloop(), so we should be using that instead of the global variable. Signed-off-by: Hannes Reinecke <hare@suse.de> --- multipathd/main.c | 2 ++ 1 file changed, 2 insertions(+)