aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-02-07 00:09:48 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-02-07 00:09:48 +0000
commitbc64f428ad12385d77376f6f81aa4dbcfca3717b (patch)
tree60efd0f9926660810001ddc8cbc14d5df57a78ab
parent33e3a18876cb4605767a1f63e192e97eccc37cf6 (diff)
downloadsrc-bc64f428ad12385d77376f6f81aa4dbcfca3717b.tar.gz
src-bc64f428ad12385d77376f6f81aa4dbcfca3717b.zip
Fix typos in comments (returing -> returning)
MFC after: 1 week Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=313356
-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 cb6e03ef69dc..bbc11c146d89 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 3ca1006cf69d..4db69b02ab37 100644
--- a/usr.sbin/syslogd/syslogd.c
+++ b/usr.sbin/syslogd/syslogd.c
@@ -2348,7 +2348,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