Skip to content

Commit

Permalink
Dynamic debug: fix typo: -/->
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roel Kluin authored and Greg Kroah-Hartman committed Jul 28, 2009
1 parent 3b4418c commit 4df7b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dynamic_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4df7b3e

Please sign in to comment.