-
-
Save kerneltoast/b8237c6a71832774912ae14a19401a76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/session.cxx | |
+++ b/session.cxx | |
@@ -2391,9 +2391,9 @@ systemtap_session::print_error (const semantic_error& se) | |
seen_errors[se.errsrc_chain()]++; | |
cerr << build_error_msg(se); | |
for (const semantic_error *e = &se; e != NULL; e = e->get_chain()) | |
- if (verbose > 1 || seen_errors[e->errsrc] < 1) // dupe-eliminate chained errors too | |
+ if (verbose > 1 || seen_errors[e->errsrc_chain()] < 1) // dupe-eliminate chained errors too | |
{ | |
- seen_errors[e->errsrc]++; | |
+ seen_errors[e->errsrc_chain()]++; | |
cerr << build_error_msg(*e); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment