projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
from reading the code -- boy is there a lot of work to be done
[unix-history]
/
usr
/
src
/
sys
/
kern
/
vfs_xxx.c
diff --git
a/usr/src/sys/kern/vfs_xxx.c
b/usr/src/sys/kern/vfs_xxx.c
index
c352854
..
21b271f
100644
(file)
--- a/
usr/src/sys/kern/vfs_xxx.c
+++ b/
usr/src/sys/kern/vfs_xxx.c
@@
-1,4
+1,4
@@
-/* vfs_xxx.c 4.
3
82/12/28 */
+/* vfs_xxx.c 4.
4
82/12/28 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-122,7
+122,6
@@
ostat1(ip, ub)
ds.ost_atime = (int)ip->i_atime;
ds.ost_mtime = (int)ip->i_mtime;
ds.ost_ctime = (int)ip->i_ctime;
ds.ost_atime = (int)ip->i_atime;
ds.ost_mtime = (int)ip->i_mtime;
ds.ost_ctime = (int)ip->i_ctime;
- if (copyout((caddr_t)&ds, (caddr_t)ub, sizeof(ds)) < 0)
- u.u_error = EFAULT;
+ u.u_error = copyout((caddr_t)&ds, (caddr_t)ub, sizeof(ds));
}
#endif
}
#endif