mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-19 13:40:38 +02:00
Missing close parenthesis in one of the setuid() fixes.
(cherry picked from 50a3e1ad18 commit)
This commit is contained in:
parent
e8cb08ce08
commit
5d3e60552d
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue