summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-14 16:01:17 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-14 16:01:17 +1030
commit5f2c8a2dcdf98b39997ee5e7c9a9ace3b640bfa3 (patch)
tree2bd90c83a68ee441b7622f110d3eff1fc90e3c22
parentff783fce65a63707555098759692b22147646263 (diff)
Janitor: clean up xf86Msg use, might as well use X_CONFIG directly.
-rw-r--r--src/evdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 46880a5..f79cdfb 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1294,7 +1294,6 @@ static InputInfoPtr
EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
{
InputInfoPtr pInfo;
- MessageType deviceFrom = X_CONFIG;
const char *device;
EvdevPtr pEvdev;
@@ -1341,7 +1340,7 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
pEvdev->device = device;
- xf86Msg(deviceFrom, "%s: Device: \"%s\"\n", pInfo->name, device);
+ xf86Msg(X_CONFIG, "%s: Device: \"%s\"\n", pInfo->name, device);
do {
pInfo->fd = open(device, O_RDWR, 0);
} while (pInfo->fd < 0 && errno == EINTR);