Module Name: src
Committed By: njoly
Date: Sun Feb 23 16:07:40 UTC 2014
Modified Files:
src/sys/compat/linux32/common: linux32_exec_elf32.c
Log Message:
Use Aux32Info not AuxInfo. Noticed by Maxime Villard.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/compat/linux32/common/linux32_exec_elf32.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/compat/linux32/common/linux32_exec_elf32.c
diff -u src/sys/compat/linux32/common/linux32_exec_elf32.c:1.16 src/sys/compat/linux32/common/linux32_exec_elf32.c:1.17
--- src/sys/compat/linux32/common/linux32_exec_elf32.c:1.16 Sun Feb 23 11:09:42 2014
+++ src/sys/compat/linux32/common/linux32_exec_elf32.c Sun Feb 23 16:07:40 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_exec_elf32.c,v 1.16 2014/02/23 11:09:42 njoly Exp $ */
+/* $NetBSD: linux32_exec_elf32.c,v 1.17 2014/02/23 16:07:40 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998, 2000, 2001,2006 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_exec_elf32.c,v 1.16 2014/02/23 11:09:42 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_exec_elf32.c,v 1.17 2014/02/23 16:07:40 njoly Exp $");
#define ELFSIZE 32
@@ -240,8 +240,8 @@ linux32_elf32_copyargs(struct lwp *l, st
*stackp += sizeof(esd);
#endif
- len = (a - ai) * sizeof(AuxInfo);
- KASSERT(len <= LINUX32_ELF_AUX_ENTRIES * sizeof(AuxInfo));
+ len = (a - ai) * sizeof(Aux32Info);
+ KASSERT(len <= LINUX32_ELF_AUX_ENTRIES * sizeof(Aux32Info));
if ((error = copyout(ai, *stackp, len)) != 0)
return error;
*stackp += len;