diff options
author | dg <dg@FreeBSD.org> | 1995-04-30 05:11:46 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-04-30 05:11:46 +0000 |
commit | 0050e4a0006bc998ec6123f8c5e21c9cf187e8d3 (patch) | |
tree | 0cd8fd81704cf3b38d1d41f247c6057337fe9d34 /sys | |
parent | 462e0d4d021b91497bd71eb80bb7be8a487e3e7b (diff) | |
download | FreeBSD-src-0050e4a0006bc998ec6123f8c5e21c9cf187e8d3.zip FreeBSD-src-0050e4a0006bc998ec6123f8c5e21c9cf187e8d3.tar.gz |
Added UIO_NOCOPY case to ureadc() to quiet gcc.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_subr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 857ffe2..dcd57b0 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_subr.c 8.3 (Berkeley) 1/21/94 - * $Id: kern_subr.c,v 1.5 1995/04/04 02:01:12 davidg Exp $ + * $Id: kern_subr.c,v 1.6 1995/04/09 01:19:25 davidg Exp $ */ #include <sys/param.h> @@ -137,6 +137,8 @@ again: if (suibyte(iov->iov_base, c) < 0) return (EFAULT); break; + case UIO_NOCOPY: + break; } iov->iov_base++; iov->iov_len--; |