From 50a3e1ad18c815a5adafee22beccdf970bae62d6 Mon Sep 17 00:00:00 2001 From: Rudo Thomas Date: Sat, 1 Jul 2006 12:34:36 -0700 Subject: [PATCH] Missing close parenthesis in one of the setuid() fixes. --- hw/xfree86/parser/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/parser/write.c b/hw/xfree86/parser/write.c index 82baa5a04..de3bb8a49 100644 --- a/hw/xfree86/parser/write.c +++ b/hw/xfree86/parser/write.c @@ -170,7 +170,7 @@ xf86writeConfigFile (const char *filename, XF86ConfigPtr cptr) strerror(errno)); return 0; case 0: /* child */ - if (setuid(getuid() == -1) + if (setuid(getuid()) == -1) FatalError("xf86writeConfigFile(): " "setuid failed(%s)\n", strerror(errno));