diff options
author | Eric Jackson <ericj@cvs.openbsd.org> | 2000-09-07 17:52:25 +0000 |
---|---|---|
committer | Eric Jackson <ericj@cvs.openbsd.org> | 2000-09-07 17:52:25 +0000 |
commit | 5514f7f20355848f9c876f7197bfba9e4b88c76e (patch) | |
tree | 6bf13c6ca958971efa5f1d14480c2712140a607e /sys/compat/hpux/hpux_file.c | |
parent | 4f5c276138747ef97183ba337c8f6655dae25e8b (diff) |
common/compat_util.c
Diffstat (limited to 'sys/compat/hpux/hpux_file.c')
-rw-r--r-- | sys/compat/hpux/hpux_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/hpux/hpux_file.c b/sys/compat/hpux/hpux_file.c index e38b32897a9..09740e2cb32 100644 --- a/sys/compat/hpux/hpux_file.c +++ b/sys/compat/hpux/hpux_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hpux_file.c,v 1.6 1997/07/06 07:27:59 downsj Exp $ */ +/* $OpenBSD: hpux_file.c,v 1.7 2000/09/07 17:52:22 ericj Exp $ */ /* $NetBSD: hpux_file.c,v 1.5 1997/04/27 21:40:48 thorpej Exp $ */ /* @@ -451,9 +451,9 @@ hpux_stat1(p, v, retval, dolstat) sg = stackgap_init(p->p_emul); + st = stackgap_alloc(&sg, sizeof (struct stat)); HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path)); - st = stackgap_alloc(&sg, sizeof (struct stat)); SCARG(&sa, ub) = st; SCARG(&sa, path) = SCARG(uap, path); |