summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-11-13 17:19:41 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-11-13 17:19:41 +0000
commit7e0ada135c29bea9e4cd6f4adaf0295dfdeaa545 (patch)
treef61cd1e0bd28208e0492701733971481f1eab475 /sys
parenta7c117390695daa59964a6603e65920a9a5d689b (diff)
Couple of typos in poll changes. ok millert@
Diffstat (limited to 'sys')
-rw-r--r--sys/adosfs/advnops.c4
-rw-r--r--sys/msdosfs/msdosfs_vnops.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/adosfs/advnops.c b/sys/adosfs/advnops.c
index 8419debb4e7..e533cbabbf4 100644
--- a/sys/adosfs/advnops.c
+++ b/sys/adosfs/advnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: advnops.c,v 1.27 2003/10/17 18:25:06 tedu Exp $ */
+/* $OpenBSD: advnops.c,v 1.28 2003/11/13 17:19:40 drahn Exp $ */
/* $NetBSD: advnops.c,v 1.32 1996/10/13 02:52:09 christos Exp $ */
/*
@@ -384,7 +384,7 @@ adosfs_poll(v)
struct vnode *a_vp;
int a_events;
struct proc *a_p;
- } */ *sp = v;
+ } */ *ap = v;
#ifdef ADOSFS_DIAGNOSTIC
/*
* sure there's something to read...
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index 8ccf6dc1b6a..59bd652cdaa 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.42 2003/09/23 16:51:13 millert Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.43 2003/11/13 17:19:40 drahn Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -714,7 +714,7 @@ msdosfs_poll(v)
struct vnode *a_vp;
int a_events;
struct proc *a_p;
- } */ *ap;
+ } */ *ap = v;
return (seltrue(ap->a_vp->v_rdev, ap->a_events, ap->a_p));
}