diff mbox

[igt,16/24] igt/gem_eio: i915.reset is no longer a boolean

Message ID 20170814201848.28216-16-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Chris Wilson Aug. 14, 2017, 8:18 p.m. UTC
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/gem_eio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tests/gem_eio.c b/tests/gem_eio.c
index 3c826626..15120842 100644
--- a/tests/gem_eio.c
+++ b/tests/gem_eio.c
@@ -53,7 +53,7 @@  static bool i915_reset_control(bool enable)
 	fd = open(path, O_RDWR);
 	igt_require(fd >= 0);
 
-	ret = write(fd, &"NY"[enable], 1) == 1;
+	ret = write(fd, &"01"[enable], 1) == 1;
 	close(fd);
 
 	return ret;