summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-07-23 17:40:29 +0000
committerderaadt <deraadt@openbsd.org>2008-07-23 17:40:29 +0000
commitec85ae5e6789b8a5fac6c328bf05a2348c91ea11 (patch)
tree9b5e8060756146c8dc66f67787eff12ae0ad2331
parentSo it turns outthe HP engineers changed the PA-RISC 2.0 architecture (diff)
downloadwireguard-openbsd-ec85ae5e6789b8a5fac6c328bf05a2348c91ea11.tar.xz
wireguard-openbsd-ec85ae5e6789b8a5fac6c328bf05a2348c91ea11.zip
make this real C
-rw-r--r--sys/nfs/nfs_vnops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c
index bc1e604c86a..3227b111f84 100644
--- a/sys/nfs/nfs_vnops.c
+++ b/sys/nfs/nfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vnops.c,v 1.96 2008/07/23 16:24:43 beck Exp $ */
+/* $OpenBSD: nfs_vnops.c,v 1.97 2008/07/23 17:40:29 deraadt Exp $ */
/* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */
/*
@@ -2997,8 +2997,10 @@ nfs_writebp(bp, force)
}
if( (oldflags & B_ASYNC) == 0) {
+ int rtval;
+
bp->b_flags |= B_RAW;
- int rtval = biowait(bp);
+ rtval = biowait(bp);
if (!(oldflags & B_DELWRI) && p) {
++p->p_stats->p_ru.ru_oublock;
}