config: add a debug message, fix a whitespace error.
(cherry picked from commit 7732898aaa)
This commit is contained in:
@@ -234,8 +234,9 @@ device_added(LibHalContext *hal_ctx, const char *udi)
|
|||||||
if (xkb_options)
|
if (xkb_options)
|
||||||
add_option(&options, "xkb_options", xkb_options);
|
add_option(&options, "xkb_options", xkb_options);
|
||||||
|
|
||||||
|
DebugF("[config/hal] Adding device %s\n", name);
|
||||||
if (NewInputDeviceRequest(options, &dev) != Success) {
|
if (NewInputDeviceRequest(options, &dev) != Success) {
|
||||||
DebugF("[config/hal] NewInputDeviceRequest failed\n");
|
ErrorF("[config/hal] NewInputDeviceRequest failed\n");
|
||||||
dev = NULL;
|
dev = NULL;
|
||||||
goto unwind;
|
goto unwind;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user