Re: [PATCH] sanei_scsi.c for dio in Linux

From: Tim Waugh (twaugh@redhat.com)
Date: Mon Apr 02 2001 - 09:03:07 PDT

  • Next message: Oliver Neukum: "Re: sm3600 SANE backend in the beam"

    On Sun, Apr 01, 2001 at 11:00:36AM -0400, Douglas Gilbert wrote:

    > - if ( (req->sgdata.sg3.hdr.info && SG_INFO_CHECK != 0)
    > + if ( (req->sgdata.sg3.hdr.info & SG_INFO_CHECK != 0)

    You mean:

    if ( ((req->sgdata.sg3.hdr.info & SG_INFO_CHECK) != 0)

    != binds more tightly than & I think.

    Tim.
    */



    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Mon Apr 02 2001 - 08:50:39 PDT