avoid loosing return value from copyin, and properly return it.
authorchl <chl@openbsd.org>
Mon, 1 Sep 2008 19:18:30 +0000 (19:18 +0000)
committerchl <chl@openbsd.org>
Mon, 1 Sep 2008 19:18:30 +0000 (19:18 +0000)
commit05d3e6ddecc16fd243ae9f47f2af75441c2b0aff
tree0addbb41f564a5d6da2944903e75af57bc882782
parent89c914608921cd9f7b67990634e1826074aae704
avoid loosing return value from copyin, and properly return it.

initial patch from me, reworked by oga@.

found by LLVM/Clang Static Analyzer.

ok oga@
sys/dev/pci/drm/drm_drawable.c