diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/dbus.c b/config/dbus.c index 0be42afb6..cef8ed5db 100644 --- a/config/dbus.c +++ b/config/dbus.c @@ -213,7 +213,7 @@ remove_device(DBusMessage *message, DBusMessage *reply, DBusError *error) MALFORMED_MESSAGE_ERROR(); } - dixLookupDevice(&dev, deviceid, serverClient, DixUnknownAccess); + dixLookupDevice(&dev, deviceid, serverClient, DixDestroyAccess); if (!dev) { DebugF("[config/dbus] bogus device id %d given\n", deviceid); ret = BadMatch; |