diff options
Diffstat (limited to 'sys/miscfs/fuse/fuse_vnops.c')
-rw-r--r-- | sys/miscfs/fuse/fuse_vnops.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/miscfs/fuse/fuse_vnops.c b/sys/miscfs/fuse/fuse_vnops.c index c9a15b4cef8..bea1126849a 100644 --- a/sys/miscfs/fuse/fuse_vnops.c +++ b/sys/miscfs/fuse/fuse_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse_vnops.c,v 1.25 2015/09/23 15:37:26 tedu Exp $ */ +/* $OpenBSD: fuse_vnops.c,v 1.26 2016/01/22 17:09:43 stefan Exp $ */ /* * Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com> * @@ -728,7 +728,7 @@ fusefs_readdir(void *v) break; } - if ((error = uiomovei(fbuf->fb_dat, fbuf->fb_len, uio))) { + if ((error = uiomove(fbuf->fb_dat, fbuf->fb_len, uio))) { fb_delete(fbuf); break; } @@ -810,7 +810,7 @@ fusefs_readlink(void *v) return (error); } - error = uiomovei(fbuf->fb_dat, fbuf->fb_len, uio); + error = uiomove(fbuf->fb_dat, fbuf->fb_len, uio); fb_delete(fbuf); return (error); @@ -1058,7 +1058,7 @@ fusefs_read(void *v) if (error) break; - error = uiomovei(fbuf->fb_dat, MIN(size, fbuf->fb_len), uio); + error = uiomove(fbuf->fb_dat, ulmin(size, fbuf->fb_len), uio); if (error) break; @@ -1112,7 +1112,7 @@ fusefs_write(void *v) fbuf->fb_io_off = uio->uio_offset; fbuf->fb_io_len = len; - if ((error = uiomovei(fbuf->fb_dat, len, uio))) { + if ((error = uiomove(fbuf->fb_dat, len, uio))) { printf("fusefs: uio error %i\n", error); break; } |