]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/contributing/coding_style.rst
doc: fix typo in coding style
[dpdk.git] / doc / guides / contributing / coding_style.rst
index 1ce5d00e36ceb8117046ef5ee84633ddc53101b2..0ec37c019b7659a1513a63df86b874524b2115da 100644 (file)
@@ -619,7 +619,7 @@ Return Value
 ~~~~~~~~~~~~
 
 * Functions which create objects, or allocate memory, should return pointer types, and NULL on error.
-  The error type should be indicated may setting the variable ``rte_errno`` appropriately.
+  The error type should be indicated by setting the variable ``rte_errno`` appropriately.
 * Functions which work on bursts of packets, such as RX-like or TX-like functions, should return the number of packets handled.
 * Other functions returning int should generally behave like system calls:
   returning 0 on success and -1 on error, setting ``rte_errno`` to indicate the specific type of error.