[xserver-commit] xizzle/common xf86Init.c,3.217,3.218

Daniel Stone xserver-commit@pdx.freedesktop.org


Committed by: daniel

Update of /cvs/xserver/xizzle/common
In directory pdx:/tmp/cvs-serv7768/common

Modified Files:
	xf86Init.c 
Log Message:
xf86HandleConfigFile() fixes ...


Index: xf86Init.c
===================================================================
RCS file: /cvs/xserver/xizzle/common/xf86Init.c,v
retrieving revision 3.217
retrieving revision 3.218
diff -u -d -r3.217 -r3.218
--- a/xf86Init.c	7 Mar 2004 13:43:02 -0000	3.217
+++ b/xf86Init.c	7 Mar 2004 23:33:15 -0000	3.218
@@ -291,12 +291,15 @@
 
     /* Read and parse the config file */
     if (!xf86DoProbe && !xf86DoConfigure) {
-      switch (xf86HandleConfigFile(FALSE)) {
+      switch (xf86HandleConfigFile()) {
       case CONFIG_OK:
 	break;
       case CONFIG_PARSE_ERROR:
 	xf86Msg(X_ERROR, "Error parsing the config file\n");
 	return;
+      case CONFIG_NOFILE:
+	xf86Msg(X_ERROR, "Couldn't find the config file\n");
+	return;
       }
     }