From 929a42ba0b44c063a826a8d3ec541e9e70cced00 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 6 Sep 2000 00:53:05 +0000 Subject: [PATCH] fix for insn->mode0 conversion --- comedi/drivers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers.c b/comedi/drivers.c index 8f4bc650..c1e499e5 100644 --- a/comedi/drivers.c +++ b/comedi/drivers.c @@ -334,7 +334,7 @@ static int insn_emulate(comedi_device *dev,comedi_subdevice *s,comedi_insn *insn } } - return -EINVAL; + return insn->n; } -- 2.26.2