Perf: fix build breakage
[pandora-kernel.git] / tools / perf / util / hist.c
index adb372d..e0a0970 100644 (file)
@@ -237,8 +237,8 @@ struct hist_entry *__hists__add_entry(struct hists *hists,
                         * mis-adjust symbol addresses when computing
                         * the history counter to increment.
                         */
-                       if (he->ms.map != entry->ms.map) {
-                               he->ms.map = entry->ms.map;
+                       if (he->ms.map != entry.ms.map) {
+                               he->ms.map = entry.ms.map;
                                if (he->ms.map)
                                        he->ms.map->referenced = true;
                        }