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/linux/linux_file.c | |
parent | 4f5c276138747ef97183ba337c8f6655dae25e8b (diff) |
common/compat_util.c
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r-- | sys/compat/linux/linux_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index b1c5e12745a..7f1ae5c2a5d 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_file.c,v 1.14 2000/07/23 22:24:37 jasoni Exp $ */ +/* $OpenBSD: linux_file.c,v 1.15 2000/09/07 17:52:23 ericj Exp $ */ /* $NetBSD: linux_file.c,v 1.15 1996/05/20 01:59:09 fvdl Exp $ */ /* @@ -519,9 +519,9 @@ linux_stat1(p, v, retval, dolstat) sg = stackgap_init(p->p_emul); + st = stackgap_alloc(&sg, sizeof (struct stat)); LINUX_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); |