ofalk / libdnet

libdnet provides a simplified, portable interface to several low-level networking routines.
Other
153 stars 60 forks source link

mapages: fix some typos #67

Closed florianernst closed 2 years ago

florianernst commented 2 years ago

Hello there,

the following patch (to be applied on top of the patch from #66) fixes some common typos:

Index: libdnet/man/dnet.3
===================================================================
--- libdnet.orig/man/dnet.3
+++ libdnet/man/dnet.3
@@ -383,7 +383,7 @@ according to the directive
 for details), returning the new absolute offset, or \-1 on failure.
 .Pp
 .Fn blob_index
-returns the offset of the first occurence in blob 
+returns the offset of the first occurrence in blob 
 .Fa b
 of the specified
 .Fa buf
@@ -392,7 +392,7 @@ of length
 or \-1 on failure.
 .Pp
 .Fn blob_rindex
-returns the offset of the last occurence in blob 
+returns the offset of the last occurrence in blob 
 .Fa b
 of the specified
 .Fa buf
@@ -599,7 +599,7 @@ functions,
 .Fa intf_len
 should be set to the size of the buffer pointed to by
 .Fa entry 
-(usually sizeof(struct intf_entry), but should be larger to accomodate
+(usually sizeof(struct intf_entry), but should be larger to accommodate
 any interface alias addresses.
 .Pp
 .Fn intf_get_src

Cheers, Flo

ofalk commented 2 years ago

Good point. Noted and updated.