Ticket #225: bugfix.patch

File bugfix.patch, 507 bytes (added by fjahanmir, 13 years ago)
  • smartmontools/os_linux.cpp

    diff -ru trunk_original/smartmontools/os_linux.cpp trunk/smartmontools/os_linux.cpp
    old new  
    605605        }
    606606    }
    607607
    608     if (io_hdr.info | SG_INFO_CHECK) { /* error or warning */
     608    if (io_hdr.info & SG_INFO_CHECK) { /* error or warning */
    609609        int masked_driver_status = (LSCSI_DRIVER_MASK & io_hdr.driver_status);
    610610
    611611        if (0 != io_hdr.host_status) {