Deleted Added
full compact
28c28
< * $FreeBSD: head/sys/i386/ibcs2/ibcs2_stat.c 107839 2002-12-13 22:41:47Z alfred $
---
> * $FreeBSD: head/sys/i386/ibcs2/ibcs2_stat.c 107849 2002-12-14 01:56:26Z alfred $
109,110c109,110
< CHECKALTEXIST(td, &sg, SCARG(uap, path));
< NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), td);
---
> CHECKALTEXIST(td, &sg, uap->path);
> NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, uap->path, td);
120c120
< return cvt_statfs(sp, (caddr_t)SCARG(uap, buf), SCARG(uap, len));
---
> return cvt_statfs(sp, (caddr_t)uap->buf, uap->len);
133c133
< if ((error = getvnode(td->td_proc->p_fd, SCARG(uap, fd), &fp)) != 0)
---
> if ((error = getvnode(td->td_proc->p_fd, uap->fd, &fp)) != 0)
142c142
< return cvt_statfs(sp, (caddr_t)SCARG(uap, buf), SCARG(uap, len));
---
> return cvt_statfs(sp, (caddr_t)uap->buf, uap->len);
156,158c156,158
< CHECKALTEXIST(td, &sg, SCARG(uap, path));
< SCARG(&cup, path) = SCARG(uap, path);
< SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(st));
---
> CHECKALTEXIST(td, &sg, uap->path);
> cup.path = uap->path;
> cup.ub = stackgap_alloc(&sg, sizeof(st));
163c163
< if ((error = copyin(SCARG(&cup, ub), &st, sizeof(st))) != 0)
---
> if ((error = copyin(cup.ub, &st, sizeof(st))) != 0)
166c166
< return copyout((caddr_t)&ibcs2_st, (caddr_t)SCARG(uap, st),
---
> return copyout((caddr_t)&ibcs2_st, (caddr_t)uap->st,
181,183c181,183
< CHECKALTEXIST(td, &sg, SCARG(uap, path));
< SCARG(&cup, path) = SCARG(uap, path);
< SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(st));
---
> CHECKALTEXIST(td, &sg, uap->path);
> cup.path = uap->path;
> cup.ub = stackgap_alloc(&sg, sizeof(st));
188c188
< if ((error = copyin(SCARG(&cup, ub), &st, sizeof(st))) != 0)
---
> if ((error = copyin(cup.ub, &st, sizeof(st))) != 0)
191c191
< return copyout((caddr_t)&ibcs2_st, (caddr_t)SCARG(uap, st),
---
> return copyout((caddr_t)&ibcs2_st, (caddr_t)uap->st,
206,207c206,207
< SCARG(&cup, fd) = SCARG(uap, fd);
< SCARG(&cup, sb) = stackgap_alloc(&sg, sizeof(st));
---
> cup.fd = uap->fd;
> cup.sb = stackgap_alloc(&sg, sizeof(st));
212c212
< if ((error = copyin(SCARG(&cup, sb), &st, sizeof(st))) != 0)
---
> if ((error = copyin(cup.sb, &st, sizeof(st))) != 0)
215c215
< return copyout((caddr_t)&ibcs2_st, (caddr_t)SCARG(uap, st),
---
> return copyout((caddr_t)&ibcs2_st, (caddr_t)uap->st,
224c224
< switch (SCARG(uap, flag)) {
---
> switch (uap->flag) {
248c248
< return copyout((caddr_t)&sut, (caddr_t)SCARG(uap, a1),
---
> return copyout((caddr_t)&sut, (caddr_t)uap->a1,