summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-02-17 10:33:06 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-02-21 11:19:08 +1000
commitf427c74b6cd7089690c000c257468629a762b1eb (patch)
tree6eb1df86e5104be9b843ad80919a4fd94601986d /src/test.c
parentc591231a666d8dfdac4d301c0de49f34ac3e4aac (diff)
Enclose property and device names in quotes
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test.c b/src/test.c
index 4e2c2e6..97305c5 100644
--- a/src/test.c
+++ b/src/test.c
@@ -54,7 +54,7 @@ register_events(Display *dpy,
device = XOpenDevice(dpy, info->id);
if (!device) {
- fprintf(stderr, "unable to open device %s\n", dev_name);
+ fprintf(stderr, "unable to open device '%s'\n", dev_name);
return 0;
}
@@ -181,7 +181,7 @@ test(Display *display,
info = find_device_info(display, argv[idx], True);
if (!info) {
- fprintf(stderr, "unable to find device %s\n", argv[idx]);
+ fprintf(stderr, "unable to find device '%s'\n", argv[idx]);
return EXIT_FAILURE;
} else {
if (register_events(display, info, argv[idx], handle_proximity)) {