summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-10-06 11:55:40 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-10-06 11:55:40 +0000
commita20d77550a297e58ff54e3ab3c3dae489ce92eed (patch)
treecc5c3143c0242d3f353dd571c607b9131565ea45 /sys
parent6c1d8f3fd886d483d0c435e1ea7096cdf60d6aa2 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index de39a9fa1f67..53e74b19bca8 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* @(#)init_main.c 8.9 (Berkeley) 1/21/94
- * $Id: init_main.c,v 1.95 1998/07/15 05:21:48 bde Exp $
+ * $Id: init_main.c,v 1.96 1998/09/14 19:56:40 sos Exp $
*/
#include "opt_devfs.h"
@@ -600,7 +600,7 @@ start_init(p)
/*
* Move out the arg pointers.
*/
- uap = (char **)((intptr_t)ucp & ~(NBPW-1));
+ uap = (char **)((intptr_t)ucp & ~(sizeof(intptr_t)-1));
(void)suword((caddr_t)--uap, (long)0); /* terminator */
(void)suword((caddr_t)--uap, (long)(intptr_t)arg1);
(void)suword((caddr_t)--uap, (long)(intptr_t)arg0);