summaryrefslogtreecommitdiff
path: root/sys/msdosfs/msdosfs_vnops.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2013-09-14 02:28:04 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2013-09-14 02:28:04 +0000
commit8980b4bc0e0964f3f84625f36ff46df354ec85f2 (patch)
treee829db0fb28d09e3ad2095b685326a8a8732b65c /sys/msdosfs/msdosfs_vnops.c
parent7b115ba51011af0745a43200d86691551c932fd6 (diff)
Correct the handling of I/O of >=2^32 bytes and the ktracing there of
by using size_t/ssize_t instead of int/u_int to handle I/O lengths in uiomove(), vn_fsizechk(), and ktrgenio(). Eliminate the always-zero 'error' argument to ktrgenio() at the same time.
Diffstat (limited to 'sys/msdosfs/msdosfs_vnops.c')
-rw-r--r--sys/msdosfs/msdosfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index 9d1bd021f26..23f61e343c9 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.88 2013/08/13 05:52:24 guenther Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.89 2013/09/14 02:28:03 guenther Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -594,7 +594,7 @@ msdosfs_write(void *v)
int n;
int croffset;
int resid;
- int overrun;
+ ssize_t overrun;
int extended = 0;
uint32_t osize;
int error = 0;