diff options
| author | matt <matt@NetBSD.org> | 2007-04-25 12:54:26 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2007-04-25 12:54:26 +0000 |
| commit | 3af169362eb346dcb6005ba6791fbbf17359a4e6 (patch) | |
| tree | 2daec7df53ab28869e8f69806032bda9be0c1bba /sys | |
| parent | bb1c05a804064ddf58e9a855cf09daf4dadcc73a (diff) | |
Make this compile again (after stackgap removal)
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/compat/ultrix/ultrix_pathname.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/compat/ultrix/ultrix_pathname.c b/sys/compat/ultrix/ultrix_pathname.c index af249ee7286..8f0e8706eb5 100644 --- a/sys/compat/ultrix/ultrix_pathname.c +++ b/sys/compat/ultrix/ultrix_pathname.c @@ -1,4 +1,4 @@ -/* $NetBSD: ultrix_pathname.c,v 1.27 2007/04/22 08:30:00 dsl Exp $ */ +/* $NetBSD: ultrix_pathname.c,v 1.28 2007/04/25 12:54:26 matt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -59,7 +59,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ultrix_pathname.c,v 1.27 2007/04/22 08:30:00 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ultrix_pathname.c,v 1.28 2007/04/25 12:54:26 matt Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -158,8 +158,6 @@ ultrix_sys_open(struct lwp *l, void *v, register_t *retval) int noctty; int ret; - void *sg = stackgap_init(p, 0); - /* convert open flags into NetBSD flags */ q = SCARG(uap, flags); noctty = q & 0x8000; @@ -227,7 +225,6 @@ int ultrix_sys_statfs(struct lwp *l, void *v, register_t *retval) { struct ultrix_sys_statfs_args *uap = v; - struct proc *p = l->l_proc; struct mount *mp; struct statvfs *sp; int error; |
