commit ca4834e

Michael Forney  ·  2013-12-06 22:53:02 +0000 UTC
parent ffdbaf6
seat: Use ERROR
1 files changed,  +4, -4
+4, -4
 1@@ -171,7 +171,7 @@ static void add_device(struct udev_device * udev_device)
 2 
 3     if (!device)
 4     {
 5-        fprintf(stderr, "Could not create evdev device\n");
 6+        ERROR("Could not create evdev device\n");
 7         return;
 8     }
 9 
10@@ -227,7 +227,7 @@ bool swc_seat_initialize()
11 
12     if (!swc_data_device_initialize(&seat.data_device))
13     {
14-        printf("could not initialize data device\n");
15+        ERROR("Could not initialize data device\n");
16         goto error1;
17     }
18 
19@@ -235,7 +235,7 @@ bool swc_seat_initialize()
20 
21     if (!swc_keyboard_initialize(&seat.keyboard))
22     {
23-        printf("could not initialize keyboard\n");
24+        ERROR("Could not initialize keyboard\n");
25         goto error2;
26     }
27 
28@@ -243,7 +243,7 @@ bool swc_seat_initialize()
29 
30     if (!swc_pointer_initialize(&seat.pointer))
31     {
32-        printf("could not initialize pointer\n");
33+        ERROR("Could not initialize pointer\n");
34         goto error3;
35     }
36