[BACK]Return to subr_copy.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/subr_copy.c between version 1.5 and 1.6

version 1.5, 2015/03/29 17:38:31 version 1.6, 2015/04/21 13:17:25
Line 106  uiomove(void *buf, size_t n, struct uio 
Line 106  uiomove(void *buf, size_t n, struct uio 
   
         ASSERT_SLEEPABLE();          ASSERT_SLEEPABLE();
   
 #ifdef DIAGNOSTIC          KASSERT(uio->uio_rw == UIO_READ || uio->uio_rw == UIO_WRITE);
         if (uio->uio_rw != UIO_READ && uio->uio_rw != UIO_WRITE)  
                 panic("uiomove: mode");  
 #endif  
         while (n > 0 && uio->uio_resid) {          while (n > 0 && uio->uio_resid) {
                 iov = uio->uio_iov;                  iov = uio->uio_iov;
                 cnt = iov->iov_len;                  cnt = iov->iov_len;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>