Dynamic debug: fix typo: -/->

The member was intended, not the local variable.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Greg Banks <gnb@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Roel Kluin 2009-07-15 20:29:07 +02:00 committed by Greg Kroah-Hartman
parent 3b4418c67a
commit 4df7b3e037

View file

@ -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) {