⬢ DragonFlyBSD Kernel Audit
DF-4254 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/raid/mpr/mpr_sas_lsi.c
+++ b/sys/dev/raid/mpr/mpr_sas_lsi.c
@@ -595,7 +603,7 @@
 					    sassc, 0,
 					    event_data->PhysDiskDevHandle);
 					if (targ) {
-						targ->flags |=
+						targ->flags &=
 					    ~MPR_TARGET_FLAGS_RAID_COMPONENT;
 						kprintf("%s %d: Found Target "
 						    "for handle 0x%x.  \n",