Skip to content

Instantly share code, notes, and snippets.

@agentzh

agentzh/a.patch Secret

Created December 30, 2019 20:16
Show Gist options
  • Save agentzh/a9036196ed03cce50f6f299875078bc6 to your computer and use it in GitHub Desktop.
Save agentzh/a9036196ed03cce50f6f299875078bc6 to your computer and use it in GitHub Desktop.
diff --git a/runtime/sym.c b/runtime/sym.c
index 0b73c1d65..722cfa9c0 100644
--- a/runtime/sym.c
+++ b/runtime/sym.c
@@ -719,7 +719,7 @@ static int _stp_build_id_check (struct _stp_module *m,
// have two strings, will travel
if (strcmp (hexstring_practice, hexstring_theory)) {
- _stp_error ("Build-id mismatch [man error::buildid]: \"%s\" address %#lx, expected %s actual %s\n",
+ _stp_warn ("Build-id mismatch [man error::buildid]: \"%s\" address %#lx, expected %s actual %s\n",
m->path, notes_addr, hexstring_theory, hexstring_practice);
return 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment