Merge pull request #1666 from nirmoy/fix_spell_1
fix some spelling errors
diff --git a/docs/reference_guide.md b/docs/reference_guide.md
index 441d686..3e2eccd 100644
--- a/docs/reference_guide.md
+++ b/docs/reference_guide.md
@@ -255,7 +255,7 @@
Syntax: ```int bpf_probe_read_str(void *dst, int size, const void *src)```
Return:
- - \> 0 length of the string including the trailing NUL on success
+ - \> 0 length of the string including the trailing NULL on success
- \< 0 error
This copies a `NULL` terminated string from memory location to BPF stack, so that BPF can later operate on it. In case the string length is smaller than size, the target is not padded with further `NULL` bytes. In case the string length is larger than size, just `size - 1` bytes are copied and the last byte is set to `NULL`.
@@ -733,7 +733,7 @@
This assigns ```tail_call()``` to ```prog_array[2]```. In the end of ```do_tail_call()```, ```prog_array.call(ctx, 2)``` tail-calls ```tail_call()``` and executes it.
-**NOTE:** To prevent infinite loop, the maximun number of tail-calls is 32 ([```MAX_TAIL_CALL_CNT```](https://github.com/torvalds/linux/search?l=C&q=MAX_TAIL_CALL_CNT+path%3Ainclude%2Flinux&type=Code)).
+**NOTE:** To prevent infinite loop, the maximum number of tail-calls is 32 ([```MAX_TAIL_CALL_CNT```](https://github.com/torvalds/linux/search?l=C&q=MAX_TAIL_CALL_CNT+path%3Ainclude%2Flinux&type=Code)).
Examples in situ:
[search /examples](https://github.com/iovisor/bcc/search?l=C&q=call+path%3Aexamples&type=Code),
diff --git a/docs/tutorial.md b/docs/tutorial.md
index ee93108..6669fec 100644
--- a/docs/tutorial.md
+++ b/docs/tutorial.md
@@ -224,7 +224,7 @@
tcprerans prints one line of output for every TCP retransmit packet, with details including source and destination addresses, and kernel state of the TCP connection.
-TCP retransmissions cause latency and throughput issues. For ESTABLESHID retransmits, look for patterns with networks. For SYN_SENT, this may point to target kernel CPU saturation and kernel packet drops.
+TCP retransmissions cause latency and throughput issues. For ESTABLISHED retransmits, look for patterns with networks. For SYN_SENT, this may point to target kernel CPU saturation and kernel packet drops.
More [examples](../tools/tcpretrans_example.txt).