diff -u -u -r1.29 xf86Init.c --- xf86Init.c 14 Dec 2005 20:12:00 -0000 1.29 +++ xf86Init.c 10 Mar 2006 11:21:37 -0000 @@ -1376,7 +1376,7 @@ } /* First the options that are only allowed for root */ - if (getuid() == 0 || geteuid != 0) + if (getuid() == 0 || geteuid() != 0) { if (!strcmp(argv[i], "-modulepath")) { @@ -1679,7 +1679,7 @@ } if (!strcmp(argv[i], "-configure")) { - if (getuid() != 0 && geteuid == 0) { + if (getuid() != 0 && geteuid() == 0) { ErrorF("The '-configure' option can only be used by root.\n"); exit(1); }