commit 78ae79d
Michael Forney
·
2014-02-08 08:42:02 +0000 UTC
parent 1429271
xkb: Use WARNING
1 files changed,
+4,
-4
+4,
-4
1@@ -112,7 +112,7 @@ bool swc_xkb_update_keymap(struct swc_xkb * xkb)
2
3 if (!keymap_string)
4 {
5- printf("could not get XKB keymap as a string\n");
6+ WARNING("Could not get XKB keymap as a string\n");
7 goto error0;
8 }
9
10@@ -123,7 +123,7 @@ bool swc_xkb_update_keymap(struct swc_xkb * xkb)
11
12 if (xkb->keymap.fd == -1)
13 {
14- printf("could not create XKB keymap file\n");
15+ WARNING("Could not create XKB keymap file\n");
16 goto error1;
17 }
18
19@@ -131,7 +131,7 @@ bool swc_xkb_update_keymap(struct swc_xkb * xkb)
20
21 if (posix_fallocate(xkb->keymap.fd, 0, xkb->keymap.size) != 0)
22 {
23- printf("could not resize XKB keymap file\n");
24+ WARNING("Could not resize XKB keymap file\n");
25 goto error2;
26 }
27
28@@ -140,7 +140,7 @@ bool swc_xkb_update_keymap(struct swc_xkb * xkb)
29
30 if (xkb->keymap.area == MAP_FAILED)
31 {
32- printf("could not mmap XKB keymap string\n");
33+ WARNING("Could not mmap XKB keymap string\n");
34 goto error2;
35 }
36