[PC-BSD Commits] r12137 - pcbsd/current/build-files/ports-overlay/x11/nvidia-driver/files

svn at pcbsd.org svn at pcbsd.org
Tue Aug 16 16:19:04 PDT 2011


Author: kris
Date: 2011-08-16 16:19:04 -0700 (Tue, 16 Aug 2011)
New Revision: 12137

Modified:
   pcbsd/current/build-files/ports-overlay/x11/nvidia-driver/files/patch-src-nvidia_linux.c
Log:

Fixed nvidia patch



Modified: pcbsd/current/build-files/ports-overlay/x11/nvidia-driver/files/patch-src-nvidia_linux.c
===================================================================
--- pcbsd/current/build-files/ports-overlay/x11/nvidia-driver/files/patch-src-nvidia_linux.c	2011-08-16 22:44:21 UTC (rev 12136)
+++ pcbsd/current/build-files/ports-overlay/x11/nvidia-driver/files/patch-src-nvidia_linux.c	2011-08-16 23:19:04 UTC (rev 12137)
@@ -13,7 +13,7 @@
      u_long cmd;
  
 -    if ((error = fget(td, args->fd, &fp)) != 0)
-+    if ((error = fget(td, CAP_READ | CAP_WRITE | CAP_SEEK, args->fd, &fp)) != 0)
++    if ((error = fget(td, CAP_IOCTL, args->fd, &fp)) != 0)
          return error;
  
      cmd = args->cmd;



More information about the Commits mailing list