summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-14 04:52:16 +0000
committerLuiz Souza <luiz@netgate.com>2017-07-15 11:10:38 -0500
commit9bc5821e761c455a3a96702b34cdd745dc38a3fe (patch)
tree82660fefc8e40d31ee8daf0468ff6eadb6997a11
parente3a16f9da60c9a825a5bdb1919015406fd888198 (diff)
downloadFreeBSD-src-9bc5821e761c455a3a96702b34cdd745dc38a3fe.zip
FreeBSD-src-9bc5821e761c455a3a96702b34cdd745dc38a3fe.tar.gz
MFC r313356:
Fix typos in comments (returing -> returning) (cherry picked from commit cb8faf3e7df1e81f95dc5e59c89c5ad19f6154c2)
-rw-r--r--sys/netpfil/ipfw/dn_heap.h2
-rw-r--r--usr.sbin/syslogd/syslogd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netpfil/ipfw/dn_heap.h b/sys/netpfil/ipfw/dn_heap.h
index cb6e03e..bbc11c1 100644
--- a/sys/netpfil/ipfw/dn_heap.h
+++ b/sys/netpfil/ipfw/dn_heap.h
@@ -85,7 +85,7 @@ enum {
* HEAP_TOP() returns a pointer to the top element of the heap,
* but makes no checks on its existence (XXX should we change ?)
*
- * heap_extract() removes the entry at the top, returing the pointer.
+ * heap_extract() removes the entry at the top, returning the pointer.
* (the key should have been read before).
*
* heap_scan() invokes a callback on each entry of the heap.
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c
index a1fb217..9474e10 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -2280,7 +2280,7 @@ markit(void)
/*
* fork off and become a daemon, but wait for the child to come online
- * before returing to the parent, or we get disk thrashing at boot etc.
+ * before returning to the parent, or we get disk thrashing at boot etc.
* Set a timer so we don't hang forever if it wedges.
*/
static int
OpenPOWER on IntegriCloud