From: Mathieu BĂ©rard Date: Tue, 12 Sep 2006 01:10:00 +0000 (+0000) Subject: * Typo fix by Holger Nelson X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=5432e4ce510bfdebba0c47228b5ea1265d9bdbfd;p=omnibook.git * Typo fix by Holger Nelson --- 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];