summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-09-16 17:33:01 -0500
committerJeremy Huddleston <jeremyhu@apple.com>2011-09-19 19:27:35 -0700
commit7e909e6df065f7c507fb897f3882782f463e7905 (patch)
tree176651af77f6fef80fffaf1c45d121823e5cd7e6 /src
parent36a568738f3032f61215b6f96dc736777f70fb9a (diff)
If we fail to NewInputDeviceRequest, FatalError rather than crash later.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src')
-rw-r--r--src/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c
index 025e373..6f094d3 100644
--- a/src/input.c
+++ b/src/input.c
@@ -277,7 +277,7 @@ NestedInputLoadDriver(NestedClientPrivatePtr clientData) {
int ret = NewInputDeviceRequest(options, NULL, &dev);
if (ret != Success) {
- xf86Msg(X_ERROR, "Failed to load input driver.\n");
+ FatalError("Failed to load input driver.\n");
}
// Send the device to the client so that the client can send the