aboutsummaryrefslogtreecommitdiffstats
path: root/extras/libmemif/docs
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2020-05-15 23:13:36 -0400
committerMatthew Smith <mgsmith@netgate.com>2020-05-18 18:21:53 +0000
commitf4fbfd692fbc04a67e61d83ef477200967a6bc34 (patch)
tree06a0ee32dbcdc109384a1fa5eb4ce934e2381b5b /extras/libmemif/docs
parent59a78e966c7813e1bd86310bc0edd8e60a506ccf (diff)
libmemif: cleanup typos
cleaned up typos in documetation while doing a read through. Type: style Change-Id: Id8abbd8d6297ee10490c12a8e62097224f7ec1e1 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'extras/libmemif/docs')
-rw-r--r--extras/libmemif/docs/gettingstarted_doc.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/libmemif/docs/gettingstarted_doc.md b/extras/libmemif/docs/gettingstarted_doc.md
index 1e5ce227eb3..977c5445bdf 100644
--- a/extras/libmemif/docs/gettingstarted_doc.md
+++ b/extras/libmemif/docs/gettingstarted_doc.md
@@ -18,7 +18,7 @@ control_fd_update (int fd, uint8_t events)
err = memif_init (control_fd_update, APP_NAME, NULL, NULL);
```
-> If event occurres on any file descriptor returned by this callback, call memif\_control\_fd\_handler function. Since version 2.0, last two optional arguments are used to specify custom memory allocation.
+> If event occurs on any file descriptor returned by this callback, call memif\_control\_fd\_handler function. Since version 2.0, last two optional arguments are used to specify custom memory allocation.
```C
memif_err = memif_control_fd_handler (evt.data.fd, events);
```
@@ -38,7 +38,7 @@ memif_err = memif_control_fd_handler (evt.data.fd, events);
> Memif initialization function will initialize internal structures and create timer file descriptor, which will be used for sending periodic connection requests. Timer is disarmed if no memif interface is created.
2. Creating interface
- - Declare memif connction handle.
+ - Declare memif connection handle.
```C
memif_conn_handle_t c;
```