summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorhiren <hiren@FreeBSD.org>2013-11-10 02:43:09 +0000
committerhiren <hiren@FreeBSD.org>2013-11-10 02:43:09 +0000
commit859cd7035c3eaa1c99d48afe5ca354c3b05d41d8 (patch)
treec771243fa1b828aaee70f273653c47ea457103b9 /tools
parent19c426193d10bacb7372e67c42818975691f2f5d (diff)
downloadFreeBSD-src-859cd7035c3eaa1c99d48afe5ca354c3b05d41d8.zip
FreeBSD-src-859cd7035c3eaa1c99d48afe5ca354c3b05d41d8.tar.gz
Minor spelling correction.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/netmap/pkt-gen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tools/netmap/pkt-gen.c b/tools/tools/netmap/pkt-gen.c
index 7203eba..a6e5eeb 100644
--- a/tools/tools/netmap/pkt-gen.c
+++ b/tools/tools/netmap/pkt-gen.c
@@ -277,11 +277,11 @@ system_ncpus(void)
/*
* parse the vale configuration in conf and put it in nmr.
* The configuration may consist of 0 to 4 numbers separated
- * by commas: #tx-slots,#rx-slots,#tx-rinzgs,#rx-rings.
+ * by commas: #tx-slots,#rx-slots,#tx-rings,#rx-rings.
* Missing numbers or zeroes stand for default values.
* As an additional convenience, if exactly one number
- * is specified, then this is assigned to bot #tx-slots and #rx-slots.
- * If there is no 4th number, then the 3rd is assigned to bot #tx-rings
+ * is specified, then this is assigned to both #tx-slots and #rx-slots.
+ * If there is no 4th number, then the 3rd is assigned to both #tx-rings
* and #rx-rings.
*/
void parse_nmr_config(const char* conf, struct nmreq *nmr)
OpenPOWER on IntegriCloud