Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm/dist/bsd-core return 'error' not 0, fix...



details:   https://anonhg.NetBSD.org/src/rev/21221752ce7e
branches:  trunk
changeset: 768903:21221752ce7e
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Aug 28 20:22:42 2011 +0000

description:
return 'error' not 0, fixes non-module build

diffstat:

 sys/external/bsd/drm/dist/bsd-core/i915_drv.c   |  2 +-
 sys/external/bsd/drm/dist/bsd-core/mach64_drv.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r b275188f38d5 -r 21221752ce7e sys/external/bsd/drm/dist/bsd-core/i915_drv.c
--- a/sys/external/bsd/drm/dist/bsd-core/i915_drv.c     Sun Aug 28 19:41:34 2011 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/i915_drv.c     Sun Aug 28 20:22:42 2011 +0000
@@ -242,7 +242,7 @@
                return ENOTTY;
        }
 
-       return 0;
+       return error;
 }
 
 #endif
diff -r b275188f38d5 -r 21221752ce7e sys/external/bsd/drm/dist/bsd-core/mach64_drv.c
--- a/sys/external/bsd/drm/dist/bsd-core/mach64_drv.c   Sun Aug 28 19:41:34 2011 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/mach64_drv.c   Sun Aug 28 20:22:42 2011 +0000
@@ -191,7 +191,7 @@
                return ENOTTY;
        }
 
-       return 0;
+       return error;
 }
 
 #endif



Home | Main Index | Thread Index | Old Index