]>
Commit | Line | Data |
---|---|---|
1 | --- programs/Xserver/hw/xfree86/common/xf86Init.c.orig 2006-03-17 23:30:10.000000000 +0200 | |
2 | +++ programs/Xserver/hw/xfree86/common/xf86Init.c 2006-03-17 23:29:35.000000000 +0200 | |
3 | @@ -1376,7 +1376,7 @@ | |
4 | } | |
5 | ||
6 | /* First the options that are only allowed for root */ | |
7 | - if (getuid() == 0 || geteuid != 0) | |
8 | + if (getuid() == 0 || geteuid() != 0) | |
9 | { | |
10 | if (!strcmp(argv[i], "-modulepath")) | |
11 | { | |
12 | @@ -1679,7 +1679,7 @@ | |
13 | } | |
14 | if (!strcmp(argv[i], "-configure")) | |
15 | { | |
16 | - if (getuid() != 0 && geteuid == 0) { | |
17 | + if (getuid() != 0 && geteuid() == 0) { | |
18 | ErrorF("The '-configure' option can only be used by root.\n"); | |
19 | exit(1); | |
20 | } |