summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_sample.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-03 08:54:29 -0300
committerRenato Botelho <renato@netgate.com>2016-05-03 08:54:29 -0300
commit394097451eda898069e18b8dc01759b5ec2d19ff (patch)
tree978e78c476a93a5940d7c55d55bda811eccb7165 /sys/netgraph/ng_sample.c
parentdc2ad254d56f40487511f4b9a56bf3f58e7603b4 (diff)
parenta3473a1d98b6f6af1dcc11c4f0189686a81dabbb (diff)
downloadFreeBSD-src-394097451eda898069e18b8dc01759b5ec2d19ff.zip
FreeBSD-src-394097451eda898069e18b8dc01759b5ec2d19ff.tar.gz
Merge remote-tracking branch 'origin/master' into devel-11
Diffstat (limited to 'sys/netgraph/ng_sample.c')
-rw-r--r--sys/netgraph/ng_sample.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netgraph/ng_sample.c b/sys/netgraph/ng_sample.c
index f0e4d50..8fa6622 100644
--- a/sys/netgraph/ng_sample.c
+++ b/sys/netgraph/ng_sample.c
@@ -241,7 +241,7 @@ ng_xxx_newhook(node_p node, hook_p hook, const char *name)
/*
* Get a netgraph control message.
- * We actually recieve a queue item that has a pointer to the message.
+ * We actually receive a queue item that has a pointer to the message.
* If we free the item, the message will be freed too, unless we remove
* it from the item using NGI_GET_MSG();
* The return address is also stored in the item, as an ng_ID_t,
@@ -404,8 +404,8 @@ devintr()
/*
* Do local shutdown processing..
* All our links and the name have already been removed.
- * If we are a persistant device, we might refuse to go away.
- * In the case of a persistant node we signal the framework that we
+ * If we are a persistent device, we might refuse to go away.
+ * In the case of a persistent node we signal the framework that we
* are still in business by clearing the NGF_INVALID bit. However
* If we find the NGF_REALLY_DIE bit set, this means that
* we REALLY need to die (e.g. hardware removed).
@@ -426,7 +426,7 @@ ng_xxx_shutdown(node_p node)
if (node->nd_flags & NGF_REALLY_DIE) {
/*
* WE came here because the widget card is being unloaded,
- * so stop being persistant.
+ * so stop being persistent.
* Actually undo all the things we did on creation.
*/
NG_NODE_SET_PRIVATE(node, NULL);
OpenPOWER on IntegriCloud