Messages in this thread Patch in this message | | | Date | Wed, 15 Jul 2009 20:29:07 +0200 | From | Roel Kluin <> | Subject | [PATCH] Dynamic debug: fix typo: -/-> |
| |
The member was intended, not the local variable.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com> --- Right?
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 833139c..e22c148 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -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) {
| |