summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Vignatti <vignatti@c3sl.ufpr.br>2008-06-11 18:21:33 -0300
committerTiago Vignatti <vignatti@c3sl.ufpr.br>2008-06-11 18:21:33 -0300
commit390b155135a451fa728b73c8107aea91dfd56ed1 (patch)
tree34b6929d565b56e3094ad07a9895e6ad95831abf
parent6e018f6a30dab1259b8fdc1ae4c84056b2acf362 (diff)
Welcome to hotplug era.
`rm -rf xorg.conf` does not imply an error message. Maybe a warning. checkInput() is defined but not used.
-rw-r--r--hw/xfree86/common/xf86Config.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c
index 601b9bbc7..eb084a5ee 100644
--- a/hw/xfree86/common/xf86Config.c
+++ b/hw/xfree86/common/xf86Config.c
@@ -2454,12 +2454,6 @@ addDefaultModes(MonPtr monitorp)
return TRUE;
}
-static void
-checkInput(serverLayoutPtr layout) {
- if (!xf86Info.allowEmptyInput)
- checkCoreInputDevices(layout, FALSE);
-}
-
/*
* load the config file and fill the global data structure
*/
@@ -2486,7 +2480,7 @@ xf86HandleConfigFile(Bool autoconfig)
xf86MsgVerb(from, 0, "Using config file: \"%s\"\n", filename);
xf86ConfigFile = xnfstrdup(filename);
} else {
- xf86Msg(X_ERROR, "Unable to locate/open config file");
+ xf86Msg(X_WARNING, "Unable to locate/open config file");
if (xf86ConfigFile)
xf86ErrorFVerb(0, ": \"%s\"", xf86ConfigFile);
xf86ErrorFVerb(0, "\n");