summaryrefslogtreecommitdiffstats
path: root/sys/dev/vt/vt_core.c
diff options
context:
space:
mode:
authorray <ray@FreeBSD.org>2014-09-10 11:27:33 +0000
committerray <ray@FreeBSD.org>2014-09-10 11:27:33 +0000
commit25f116b73a868db6c0bd8d8e7c8fc6f1d2a95d2b (patch)
tree6da5186f8216609354c057e76f6915cefa486339 /sys/dev/vt/vt_core.c
parenta95d8f6006589de85a86b5d9a29eeabf763e8e5d (diff)
downloadFreeBSD-src-25f116b73a868db6c0bd8d8e7c8fc6f1d2a95d2b.zip
FreeBSD-src-25f116b73a868db6c0bd8d8e7c8fc6f1d2a95d2b.tar.gz
spelling fixes
Submitted by: "Sam Fourman Jr." <sfourman@gmail.com> MFC after: 1 week
Diffstat (limited to 'sys/dev/vt/vt_core.c')
-rw-r--r--sys/dev/vt/vt_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index 3c0c4cf..15f7d1e 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -347,7 +347,7 @@ vt_proc_window_switch(struct vt_window *vw)
if (curvw->vw_flags & VWF_VTYLOCK)
return (EBUSY);
- /* Ask current process permitions to switch away. */
+ /* Ask current process permission to switch away. */
if (curvw->vw_smode.mode == VT_PROCESS) {
DPRINTF(30, "%s: VT_PROCESS ", __func__);
if (vt_proc_alive(curvw) == FALSE) {
@@ -1716,7 +1716,7 @@ vt_mouse_event(int type, int x, int y, int event, int cnt, int mlevel)
return;
buf = malloc(len, M_VT, M_WAITOK | M_ZERO);
- /* Request cupy/paste buffer data, no more than `len' */
+ /* Request copy/paste buffer data, no more than `len' */
vtbuf_extract_marked(&vd->vd_markedwin->vw_buf, buf,
len);
OpenPOWER on IntegriCloud