summaryrefslogtreecommitdiff
path: root/config/hal.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-01-25 11:48:13 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-01-29 09:13:25 +1030
commit2cb0ebec2b85d96289c23c17cfdcdf97ef6877d2 (patch)
tree4c5abf53696510bf516888cfe5311de4a77016f9 /config/hal.c
parent4fc2d3cef8d7868b025aa14af7ed4b730e8f2c49 (diff)
config: add a debug message, fix a whitespace error.
(cherry picked from commit 7732898aaa70e076000f6e6aa9420482896ed996)
Diffstat (limited to 'config/hal.c')
-rw-r--r--config/hal.c5
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;
}