summaryrefslogtreecommitdiff
path: root/sys/ntfs/ntfs_subr.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-02-10 22:04:01 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-02-10 22:04:01 +0000
commit33f252a37116a039bb832ed13f47cf966e5c5b80 (patch)
tree7d0ba051c8d14fad59427c4802bc3b5de95b7e1c /sys/ntfs/ntfs_subr.c
parent5396754b311c0d876e8533a1195aa10644e92b21 (diff)
Convert uiomovei() with a constant size argument to uiomove().
Diffstat (limited to 'sys/ntfs/ntfs_subr.c')
-rw-r--r--sys/ntfs/ntfs_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ntfs/ntfs_subr.c b/sys/ntfs/ntfs_subr.c
index 2e08425954c..e058dfc5e2d 100644
--- a/sys/ntfs/ntfs_subr.c
+++ b/sys/ntfs/ntfs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntfs_subr.c,v 1.42 2015/02/10 21:56:10 miod Exp $ */
+/* $OpenBSD: ntfs_subr.c,v 1.43 2015/02/10 22:04:00 miod Exp $ */
/* $NetBSD: ntfs_subr.c,v 1.4 2003/04/10 21:37:32 jdolecek Exp $ */
/*-
@@ -1582,7 +1582,7 @@ ntfs_readntvattr_plain(struct ntfsmount *ntmp, struct ntnode *ip,
if (uio) {
size_t remains = tocopy;
for(; remains; remains--) {
- error = uiomovei("", 1, uio);
+ error = uiomove("", 1, uio);
if (error != 0)
break;
}
@@ -1719,7 +1719,7 @@ ntfs_readattr(struct ntfsmount *ntmp, struct ntnode *ip, u_int32_t attrnum,
if (uio) {
size_t remains = tocopy;
for(; remains; remains--) {
- error = uiomovei("", 1, uio);
+ error = uiomove("", 1, uio);
if (error != 0)
break;
}