Fix missing parenthese around logic comparison
authorDavid Goulet <david.goulet@polymtl.ca>
Thu, 9 Sep 2010 21:11:19 +0000 (23:11 +0200)
committerNils Carlson <nils.carlson@ericsson.com>
Fri, 10 Sep 2010 08:23:52 +0000 (10:23 +0200)
Error introduce in commit number 9dec086e052cf7f583a3afaa3aab48a6de8d38ac.

Signed-off-by: David Goulet <david.goulet@polymtl.ca>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libust/tracepoint.c

index 8783b53084971074bd2ac60a45527dd17505aad1..16b4819b88e686f01a6f3ad08a6de3cecf783f0c 100644 (file)
@@ -154,8 +154,8 @@ tracepoint_entry_remove_probe(struct tracepoint_entry *entry, void *probe,
        debug_print_probes(entry);
        /* (N -> M), (N > 1, M >= 0) probes */
        for (nr_probes = 0; old[nr_probes].func; nr_probes++) {
-               if ((!probe ||
-                    old[nr_probes].func == probe &&
+               if (!probe ||
+                    (old[nr_probes].func == probe &&
                     old[nr_probes].data == data))
                        nr_del++;
        }
This page took 0.024352 seconds and 4 git commands to generate.