Added UIO_NOCOPY case to ureadc() to quiet gcc.
This commit is contained in:
parent
fc3d49a9dc
commit
af9c31e108
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8177
@ -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 @@ ureadc(c, uio)
|
||||
if (suibyte(iov->iov_base, c) < 0)
|
||||
return (EFAULT);
|
||||
break;
|
||||
case UIO_NOCOPY:
|
||||
break;
|
||||
}
|
||||
iov->iov_base++;
|
||||
iov->iov_len--;
|
||||
|
Loading…
Reference in New Issue
Block a user