From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> The example program in libtracefs-eprobes.txt man page did not compile, and had a warning. Fix the mykprobe string, and remove the unused label. Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> --- Documentation/libtracefs-eprobes.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/libtracefs-eprobes.txt b/Documentation/libtracefs-eprobes.txt index 65e5b13..4155544 100644 --- a/Documentation/libtracefs-eprobes.txt +++ b/Documentation/libtracefs-eprobes.txt @@ -62,8 +62,6 @@ static int callback(struct tep_event *event, struct tep_record *record, trace_seq_terminate(&seq); trace_seq_do_printf(&seq); - -out: trace_seq_destroy(&seq); return 0; @@ -89,7 +87,7 @@ int main (int argc, char **argv, char **env) struct tracefs_dynevent *eprobe; struct tracefs_instance *instance; struct tep_handle *tep; - const char *sysnames[] = { mykprobe, NULL }; + const char *sysnames[] = { myprobe, NULL }; pid_t pid; if (argc < 2) { -- 2.31.1