summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-07-15 20:29:07 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-07-28 13:45:22 -0700
commit4df7b3e0370ab6161ea2f258f51dd7c43bef2bda (patch)
treee6726f1ec3edb3f66071faa0591f32e864de8f52 /lib
parent3b4418c67a70278964b063b5e1f56dcb3d0a41f3 (diff)
downloadlwn-4df7b3e0370ab6161ea2f258f51dd7c43bef2bda.tar.gz
lwn-4df7b3e0370ab6161ea2f258f51dd7c43bef2bda.zip
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/dynamic_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index 833139ce1e22..e22c148e4b7f 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) {