diff options
author | Rik Faith <faith@alephnull.com> | 2000-05-27 00:03:26 +0000 |
---|---|---|
committer | Rik Faith <faith@alephnull.com> | 2000-05-27 00:03:26 +0000 |
commit | 127fd6583ff6ca60879bd79bc67dc379eedb6c8b (patch) | |
tree | 401cd8e801e81994bd131348962ac8261db18d4b | |
parent | d7cd954dd66edd305b50944b09447435adbed0fe (diff) |
Wrap getegid with xf86getegidglxmisc-3-0-0-20000606-freeze
-rw-r--r-- | libdrm/xf86drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c index f02724623..1174a0fa2 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))) { |