summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRik Faith <faith@alephnull.com>2000-05-27 00:03:26 +0000
committerRik Faith <faith@alephnull.com>2000-05-27 00:03:26 +0000
commit127fd6583ff6ca60879bd79bc67dc379eedb6c8b (patch)
tree401cd8e801e81994bd131348962ac8261db18d4b
parentd7cd954dd66edd305b50944b09447435adbed0fe (diff)
Wrap getegid with xf86getegidglxmisc-3-0-0-20000606-freeze
-rw-r--r--libdrm/xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index f0272462..1174a0fa 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -215,7 +215,7 @@ int drmAvailable(void)
remove(dev_name);
if ((fd = drmOpenDevice(dev_name, makedev(DRM_FIXED_DEVICE_MAJOR, 0),
- S_IRUSR, getuid(), getgid())) >= 0) {
+ S_IRUSR, geteuid(), getegid())) >= 0) {
/* Read version to make sure this is
actually a DRI device. */
if ((version = drmGetVersion(fd))) {