Commit c8e98d1f authored by Paul Chaignon's avatar Paul Chaignon Committed by yonghong-song

Fix typos in hint message (#2106)

Fix typos in hint message 
Signed-off-by: default avatarPaul Chaignon <paul.chaignon@orange.com>
parent 75836ef2
...@@ -346,9 +346,9 @@ static void bpf_print_hints(int ret, char *log) ...@@ -346,9 +346,9 @@ static void bpf_print_hints(int ret, char *log)
// referencing global/static variables or read only data // referencing global/static variables or read only data
if (strstr(log, "unknown opcode") != NULL) { if (strstr(log, "unknown opcode") != NULL) {
fprintf(stderr, "HINT: The 'unknown opcode' can happen if you reference" fprintf(stderr, "HINT: The 'unknown opcode' can happen if you reference "
"a global or static variable, or data in read only section. For example," "a global or static variable, or data in read-only section. For example,"
"'char *p = \"hello\"' will result in p referencing a read only section," " 'char *p = \"hello\"' will result in p referencing a read-only section,"
" and 'char p[] = \"hello\"' will have \"hello\" stored on the stack.\n\n"); " and 'char p[] = \"hello\"' will have \"hello\" stored on the stack.\n\n");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment