Skip to content

Commit

Permalink
tutorial: add missing return in hello_world example
Browse files Browse the repository at this point in the history
  • Loading branch information
igorsugak committed Aug 1, 2016
1 parent db081e2 commit 7704528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial_bcc_python_developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Here's the code for hello_world.py:

```Python
from bcc import BPF
BPF(text='int kprobe__sys_clone(void *ctx) { bpf_trace_printk("Hello, World!\\n"); }').trace_print()
BPF(text='int kprobe__sys_clone(void *ctx) { bpf_trace_printk("Hello, World!\\n"); return 0; }').trace_print()
```

There are six things to learn from this:
Expand Down

0 comments on commit 7704528

Please sign in to comment.