Make this compile on alpha again.
This commit is contained in:
parent
e6f3bfaa3a
commit
9aab9d330a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: coda_psdev.c,v 1.10 1999/04/29 22:20:42 rvb Exp $ */
|
||||
/* $NetBSD: coda_psdev.c,v 1.11 1999/09/18 05:31:42 matt Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -52,6 +52,9 @@
|
|||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_psdev.c,v $
|
||||
* Revision 1.11 1999/09/18 05:31:42 matt
|
||||
* Make this compile on alpha again.
|
||||
*
|
||||
* Revision 1.10 1999/04/29 22:20:42 rvb
|
||||
* Typo/braino?
|
||||
*
|
||||
|
@ -500,8 +503,8 @@ vc_nb_write(dev, uiop, flag)
|
|||
|
||||
/* get the rest of the data. */
|
||||
if (vmp->vm_outSize < uiop->uio_resid) {
|
||||
myprintf(("vcwrite: more data than asked for (%d < %d)\n",
|
||||
vmp->vm_outSize, uiop->uio_resid));
|
||||
myprintf(("vcwrite: more data than asked for (%d < %lu)\n",
|
||||
vmp->vm_outSize, (unsigned long) uiop->uio_resid));
|
||||
wakeup(&vmp->vm_sleep); /* Notify caller of the error. */
|
||||
return(EINVAL);
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ mkdir
|
|||
rmdir
|
||||
symlink
|
||||
*/
|
||||
/* $NetBSD: coda_vnops.c,v 1.11 1999/08/03 20:19:18 wrstuden Exp $ */
|
||||
/* $NetBSD: coda_vnops.c,v 1.12 1999/09/18 05:31:42 matt Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -56,6 +56,9 @@ symlink
|
|||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_vnops.c,v $
|
||||
* Revision 1.12 1999/09/18 05:31:42 matt
|
||||
* Make this compile on alpha again.
|
||||
*
|
||||
* Revision 1.11 1999/08/03 20:19:18 wrstuden
|
||||
* Add support for fcntl(2) to generate VOP_FCNTL calls. Any fcntl
|
||||
* call with F_FSCTL set and F_SETFL calls generate calls to a new
|
||||
|
@ -624,9 +627,10 @@ coda_rdwr(vp, uiop, rw, ioflag, cred, p)
|
|||
|
||||
MARK_ENTRY(CODA_RDWR_STATS);
|
||||
|
||||
CODADEBUG(CODA_RDWR, myprintf(("coda_rdwr(%d, %p, %d, %qd, %d)\n", rw,
|
||||
uiop->uio_iov->iov_base, uiop->uio_resid,
|
||||
uiop->uio_offset, uiop->uio_segflg)); )
|
||||
CODADEBUG(CODA_RDWR, myprintf(("coda_rdwr(%d, %p, %lu, %lld, %d)\n", rw,
|
||||
uiop->uio_iov->iov_base,
|
||||
(unsigned long) uiop->uio_resid,
|
||||
(long long) uiop->uio_offset, uiop->uio_segflg)); )
|
||||
|
||||
/* Check for rdwr of control object. */
|
||||
if (IS_CTL_VP(vp)) {
|
||||
|
@ -1927,7 +1931,7 @@ coda_readdir(v)
|
|||
|
||||
MARK_ENTRY(CODA_READDIR_STATS);
|
||||
|
||||
CODADEBUG(CODA_READDIR, myprintf(("coda_readdir(%p, %d, %qd, %d)\n", uiop->uio_iov->iov_base, uiop->uio_resid, uiop->uio_offset, uiop->uio_segflg)); )
|
||||
CODADEBUG(CODA_READDIR, myprintf(("coda_readdir(%p, %lu, %lld, %d)\n", uiop->uio_iov->iov_base, (unsigned long) uiop->uio_resid, (long long) uiop->uio_offset, uiop->uio_segflg)); )
|
||||
|
||||
/* Check for readdir of control object. */
|
||||
if (IS_CTL_VP(vp)) {
|
||||
|
|
Loading…
Reference in New Issue