Ticket #1527: megaraid_rdonly.diff
File megaraid_rdonly.diff, 517 bytes (added by , 3 years ago) |
---|
-
smartmontools/os_linux.cpp
diff --git a/smartmontools/os_linux.cpp b/smartmontools/os_linux.cpp index 1f42574e..2bdae685 100644
a b private: 1216 1216 linux_megaraid_device::linux_megaraid_device(smart_interface *intf, 1217 1217 const char *dev_name, unsigned int tgt) 1218 1218 : smart_device(intf, dev_name, "megaraid", "megaraid"), 1219 linux_smart_device(O_RD WR| O_NONBLOCK),1219 linux_smart_device(O_RDONLY | O_NONBLOCK), 1220 1220 m_disknum(tgt), m_hba(0), 1221 1221 m_fd(-1), pt_cmd(0) 1222 1222 {