chiark / gitweb /
logind: fix session-device dbus notify
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 1 Oct 2013 15:48:15 +0000 (17:48 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 1 Oct 2013 15:48:15 +0000 (17:48 +0200)
commit081dfa852fc5cd183a20747f2d8e4ef62d29d181
tree5649c767b80e26fcf3c7bdceee90b2d7041bb363
parentea52e2aee8dd7b3f51e9a00e76a54ef12dc0e898
logind: fix session-device dbus notify

Had this fix lying around here for some time. Thanks to missing
type-checking for va-args we passed in the actual major/minor values
instead of pointers to it. Fix it by saving the values on the stack first
and passing in the pointers.
src/login/logind-session-device.c