config: add a debug message, fix a whitespace error.

(cherry picked from commit 7732898aaa)
This commit is contained in:
Peter Hutterer 2008-01-25 11:48:13 +10:30
parent 4fc2d3cef8
commit 2cb0ebec2b

View File

@ -234,8 +234,9 @@ device_added(LibHalContext *hal_ctx, const char *udi)
if (xkb_options)
add_option(&options, "xkb_options", xkb_options);
DebugF("[config/hal] Adding device %s\n", name);
if (NewInputDeviceRequest(options, &dev) != Success) {
DebugF("[config/hal] NewInputDeviceRequest failed\n");
ErrorF("[config/hal] NewInputDeviceRequest failed\n");
dev = NULL;
goto unwind;
}