summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2005-01-12 03:29:20 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2005-01-12 03:29:20 +0000
commitb710b325cfd584df35243dee7f8f26d59af3f9a4 (patch)
treeb9edab5bb830140502d2286a60b58c2e26d4ebb7
parent017232181fbe677a0004553ce8930dbd5ca5cd70 (diff)
//bugs.freedesktop.org/show_bug.cgi?id=2206) attachment #1622
(https://bugs.freedesktop.org/attachment.cgi?id=1622): Fix missing return value in xf86config. Patch by Egbert Eich <eich@freedesktop.org>.
-rw-r--r--hw/xfree86/utils/xorgconfig/xorgconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/utils/xorgconfig/xorgconfig.c b/hw/xfree86/utils/xorgconfig/xorgconfig.c
index 62ab9e94b..9504a3443 100644
--- a/hw/xfree86/utils/xorgconfig/xorgconfig.c
+++ b/hw/xfree86/utils/xorgconfig/xorgconfig.c
@@ -94,7 +94,7 @@
* Chisato Yamauchi(cyamauch@phyas.aichi-edu.ac.jp)
*/
/* $XConsortium: xf86config.c /main/21 1996/10/28 05:43:57 kaleb $ */
-/* $XdotOrg: xc/programs/Xserver/hw/xfree86/xf86config/xorgconfig.c,v 1.5 2004/08/11 20:25:13 krh Exp $ */
+/* $XdotOrg: xc/programs/Xserver/hw/xfree86/xf86config/xorgconfig.c,v 1.6 2004/08/13 23:57:38 alanc Exp $ */
#include <stdlib.h>
#include <stdio.h>
@@ -1738,7 +1738,7 @@ skipclockprobing:
* For vga driver, no further configuration is required.
*/
if (card_selected == -1 || (card[card_selected].flags & UNSUPPORTED))
- return;
+ return (0);
/*
* Configure the modes order.