Skip to contentSkip to conversation

Dynamic debug: fix typo: -/->

PATCH New Roel Kluin 1 participant 1 message Jul 15, 2009

Subsystems (2)
lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 Dynamic debug: fix typo: -/->

The member was intended, not the local variable.

---
Right?

lib/dynamic_debug.c +1 -1
index 833139c..e22c148 100644
@@ -164,7 +164,7 @@ static void ddebug_change(const struct ddebug_query *query,
 
 			if (!newflags)
 				dt->num_enabled--;
-			else if (!dp-flags)
+			else if (!dp->flags)
 				dt->num_enabled++;
 			dp->flags = newflags;
 			if (newflags) {