Oh, what's in a name..

This commit is contained in:
pk 1996-06-21 20:29:28 +00:00
parent b461ef1d17
commit 68f420b593
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: read.c,v 1.6 1996/06/21 20:09:04 pk Exp $ */
/* $NetBSD: read.c,v 1.7 1996/06/21 20:29:28 pk Exp $ */
/*-
* Copyright (c) 1993
@ -86,7 +86,7 @@ read(fd, dest, bcount)
btodb(f->f_offset), bcount, dest, &resid);
if (errno)
return (-1);
f->f_offset += (bcount - resid);
f->f_offset += resid;
return (resid);
}
resid = bcount;

View File

@ -1,4 +1,4 @@
/* $NetBSD: write.c,v 1.6 1996/06/21 20:09:07 pk Exp $ */
/* $NetBSD: write.c,v 1.7 1996/06/21 20:29:30 pk Exp $ */
/*-
* Copyright (c) 1993
@ -86,7 +86,7 @@ write(fd, dest, bcount)
btodb(f->f_offset), bcount, dest, &resid);
if (errno)
return (-1);
f->f_offset += (bcount - resid);
f->f_offset += resid;
return (resid);
}
resid = bcount;