summaryrefslogtreecommitdiffstats
path: root/sys/dev/wtap
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-02 16:47:28 +0000
committerpfg <pfg@FreeBSD.org>2016-05-02 16:47:28 +0000
commit6ce01c2d90ee54ebc392d273c0f3e9d7af3a11b7 (patch)
tree64a5c2fa4f8dd9c88148b816b335988865edd950 /sys/dev/wtap
parenta394bd2abd40f90a6b211a64f88b645898a99050 (diff)
downloadFreeBSD-src-6ce01c2d90ee54ebc392d273c0f3e9d7af3a11b7.zip
FreeBSD-src-6ce01c2d90ee54ebc392d273c0f3e9d7af3a11b7.tar.gz
etc: minor spelling fixes.
Mostly comments but also some user-visible strings. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/wtap')
-rw-r--r--sys/dev/wtap/if_wtap.c2
-rw-r--r--sys/dev/wtap/if_wtap_module.c4
-rw-r--r--sys/dev/wtap/plugins/visibility.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c
index 2c58ad9..9646129 100644
--- a/sys/dev/wtap/if_wtap.c
+++ b/sys/dev/wtap/if_wtap.c
@@ -131,7 +131,7 @@ wtap_node_ioctl(struct cdev *dev, u_long cmd, caddr_t data,
switch(cmd) {
default:
- DWTAP_PRINTF("Unkown WTAP IOCTL\n");
+ DWTAP_PRINTF("Unknown WTAP IOCTL\n");
error = EINVAL;
}
return error;
diff --git a/sys/dev/wtap/if_wtap_module.c b/sys/dev/wtap/if_wtap_module.c
index 764f8a6..c03293e 100644
--- a/sys/dev/wtap/if_wtap_module.c
+++ b/sys/dev/wtap/if_wtap_module.c
@@ -88,7 +88,7 @@
MALLOC_DEFINE(M_WTAP, "wtap", "wtap wireless simulator");
MALLOC_DEFINE(M_WTAP_PACKET, "wtap packet", "wtap wireless simulator packet");
MALLOC_DEFINE(M_WTAP_RXBUF, "wtap rxbuf",
- "wtap wireless simulator recieve buffer");
+ "wtap wireless simulator receive buffer");
MALLOC_DEFINE(M_WTAP_PLUGIN, "wtap plugin", "wtap wireless simulator plugin");
static struct wtap_hal *hal;
@@ -122,7 +122,7 @@ wtap_ioctl(struct cdev *dev, u_long cmd, caddr_t data,
error = EINVAL;
break;
default:
- DWTAP_PRINTF("Unkown WTAP IOCTL\n");
+ DWTAP_PRINTF("Unknown WTAP IOCTL\n");
error = EINVAL;
}
diff --git a/sys/dev/wtap/plugins/visibility.c b/sys/dev/wtap/plugins/visibility.c
index 620dfd6..82ce5e8 100644
--- a/sys/dev/wtap/plugins/visibility.c
+++ b/sys/dev/wtap/plugins/visibility.c
@@ -230,7 +230,7 @@ vis_ioctl(struct cdev *sdev, u_long cmd, caddr_t data,
#endif
break;
default:
- DWTAP_PRINTF("Unkown WTAP IOCTL\n");
+ DWTAP_PRINTF("Unknown WTAP IOCTL\n");
error = EINVAL;
}
OpenPOWER on IntegriCloud