Module Name:    src
Committed By:   jmcneill
Date:           Fri Aug 26 12:52:01 UTC 2011

Modified Files:
        src/sys/kern: kern_exec.c

Log Message:
Fix a typo in r1.243: test for STACKALIGN not STACKLALIGN:

"If STACKALIGN is defined, use it instead of ALIGN.  Some arches need a
 stack more aligned that ALIGN will give."


To generate a diff of this commit:
cvs rdiff -u -r1.323 -r1.324 src/sys/kern/kern_exec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_exec.c
diff -u src/sys/kern/kern_exec.c:1.323 src/sys/kern/kern_exec.c:1.324
--- src/sys/kern/kern_exec.c:1.323	Fri Aug 26 09:29:16 2011
+++ src/sys/kern/kern_exec.c	Fri Aug 26 12:52:01 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_exec.c,v 1.323 2011/08/26 09:29:16 reinoud Exp $	*/
+/*	$NetBSD: kern_exec.c,v 1.324 2011/08/26 12:52:01 jmcneill Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.323 2011/08/26 09:29:16 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.324 2011/08/26 12:52:01 jmcneill Exp $");
 
 #include "opt_ktrace.h"
 #include "opt_modular.h"
@@ -780,7 +780,7 @@
 		len += (arc4random() % PAGE_SIZE);
 #endif /* PAX_ASLR */
 
-#ifdef STACKLALIGN	/* arm, etc. */
+#ifdef STACKALIGN	/* arm, etc. */
 	len = STACKALIGN(len);	/* make the stack "safely" aligned */
 #else
 	len = ALIGN(len);	/* make the stack "safely" aligned */

Reply via email to