diff options
author | dg <dg@FreeBSD.org> | 1996-06-03 04:09:36 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-06-03 04:09:36 +0000 |
commit | fc1107cd119c01adb471939ab7f813fc3507ac4a (patch) | |
tree | ada9a183b8c6a340d811642eff9c485a33399767 /sys/kern | |
parent | d1ea4ae39dd77c57f7291318fac00e59f8f150b3 (diff) | |
download | FreeBSD-src-fc1107cd119c01adb471939ab7f813fc3507ac4a.zip FreeBSD-src-fc1107cd119c01adb471939ab7f813fc3507ac4a.tar.gz |
Fix declaration of ps_strings.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 12dd958..eb3ee87 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_exec.c,v 1.40 1996/05/01 02:42:47 bde Exp $ + * $Id: kern_exec.c,v 1.41 1996/05/18 03:37:01 dyson Exp $ */ #include <sys/param.h> @@ -67,7 +67,7 @@ static int exec_check_permissions(struct image_params *); * XXX trouble here if sizeof(caddr_t) != sizeof(int), other parts * of the sysctl code also assumes this, and sizeof(int) == sizeof(long). */ -static caddr_t ps_strings = (caddr_t)PS_STRINGS; +static struct ps_strings *ps_strings = PS_STRINGS; SYSCTL_INT(_kern, KERN_PS_STRINGS, ps_strings, 0, &ps_strings, 0, ""); static caddr_t usrstack = (caddr_t)USRSTACK; |