diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-25 11:48:13 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-01-25 11:50:07 +1030 |
commit | 7732898aaa70e076000f6e6aa9420482896ed996 (patch) | |
tree | 1687152f1880663adfea07f1a1ac6dda6d8ede2c | |
parent | 466f6552190d1b83d66ebfd71e07921ed6210ee2 (diff) |
config: add a debug message, fix a whitespace error.
-rw-r--r-- | config/hal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config/hal.c b/config/hal.c index 4ab296159..52a011333 100644 --- a/config/hal.c +++ b/config/hal.c @@ -105,7 +105,7 @@ get_prop_string(LibHalContext *hal_ctx, const char *udi, const char *name) char *prop, *ret; prop = libhal_device_get_property_string(hal_ctx, udi, name, NULL); - DebugF(" [config/hal] getting %s on %s returned %s\n", name, udi, prop); + DebugF("[config/hal] getting %s on %s returned %s\n", name, udi, prop); if (prop) { ret = xstrdup(prop); libhal_free_string(prop); @@ -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; } |