From 5432e4ce510bfdebba0c47228b5ea1265d9bdbfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mathieu=20B=C3=A9rard?= Date: Tue, 12 Sep 2006 01:10:00 +0000 Subject: [PATCH] * Typo fix by Holger Nelson --- nbsmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbsmi.c b/nbsmi.c index 2740ad2..cc08635 100644 --- a/nbsmi.c +++ b/nbsmi.c @@ -200,7 +200,7 @@ static int nbsmi_smi_read_command(const struct omnibook_operation *io_op, u8 *da } retval = nbsmi_smi_command( (u16) io_op->read_addr, inputbuffer, outputbuffer); - if(!retval) + if(retval) goto out; *data = outputbuffer[0]; -- 2.43.5