From 1f523bd8d10c0b67fc8a026633bcaa416ea03d9c Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Tue, 14 Aug 2012 18:51:19 +0200 Subject: Fixup previous commit ENODEV not being defined and return code wrong --- tests/prime_nv_pcopy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/prime_nv_pcopy.c b/tests/prime_nv_pcopy.c index 1f34bc0f..0b3b92a6 100644 --- a/tests/prime_nv_pcopy.c +++ b/tests/prime_nv_pcopy.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "i915_drm.h" #include "intel_bufmgr.h" @@ -289,7 +290,7 @@ static int init_nouveau(void) fprintf(stderr, "Make sure nouveau_accel is active\n"); fprintf(stderr, "nvd9 is likely broken regardless\n"); } - return 77; + return ret; } fifo = nchannel->data; -- cgit v1.2.3