]> Devoid-pointer.net GitWeb - omnibook.git/commitdiff
* Typo fix by Holger Nelson
authorMathieu Bérard <mathieu.berard@crans.org>
Tue, 12 Sep 2006 01:10:00 +0000 (01:10 +0000)
committerMathieu Bérard <mathieu.berard@crans.org>
Tue, 12 Sep 2006 01:10:00 +0000 (01:10 +0000)
nbsmi.c

diff --git a/nbsmi.c b/nbsmi.c
index 2740ad2179f7109562e9464ccab57701b8ec229f..cc08635a055624832e9eefa97be822e373b7f271 100644 (file)
--- 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];