Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux32/common Use Aux32Info not AuxInfo. Noticed...
details: https://anonhg.NetBSD.org/src/rev/2b2b1b35be63
branches: trunk
changeset: 326955:2b2b1b35be63
user: njoly <njoly%NetBSD.org@localhost>
date: Sun Feb 23 16:07:40 2014 +0000
description:
Use Aux32Info not AuxInfo. Noticed by Maxime Villard.
diffstat:
sys/compat/linux32/common/linux32_exec_elf32.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 851f7d38d058 -r 2b2b1b35be63 sys/compat/linux32/common/linux32_exec_elf32.c
--- a/sys/compat/linux32/common/linux32_exec_elf32.c Sun Feb 23 15:29:11 2014 +0000
+++ b/sys/compat/linux32/common/linux32_exec_elf32.c Sun Feb 23 16:07:40 2014 +0000
@@ -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 @@
*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;
Home |
Main Index |
Thread Index |
Old Index