Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern put back missing break;
details: https://anonhg.NetBSD.org/src/rev/5460fd37346b
branches: trunk
changeset: 779548:5460fd37346b
user: christos <christos%NetBSD.org@localhost>
date: Sat Jun 02 18:32:27 2012 +0000
description:
put back missing break;
diffstat:
sys/kern/exec_elf.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r ff5bebe076d6 -r 5460fd37346b sys/kern/exec_elf.c
--- a/sys/kern/exec_elf.c Sat Jun 02 16:52:18 2012 +0000
+++ b/sys/kern/exec_elf.c Sat Jun 02 18:32:27 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_elf.c,v 1.40 2012/06/02 16:48:13 christos Exp $ */
+/* $NetBSD: exec_elf.c,v 1.41 2012/06/02 18:32:27 christos Exp $ */
/*-
* Copyright (c) 1994, 2000, 2005 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.40 2012/06/02 16:48:13 christos Exp $");
+__KERNEL_RCSID(1, "$NetBSD: exec_elf.c,v 1.41 2012/06/02 18:32:27 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_pax.h"
@@ -933,6 +933,7 @@
if (np->n_namesz == ELF_NOTE_GNU_NAMESZ &&
memcmp(ndata, ELF_NOTE_GNU_NAME,
ELF_NOTE_GNU_NAMESZ) == 0)
+ break;
int ns = MIN(np->n_namesz, maxlen);
printf("%s: Unknown elf note type %d: "
"[namesz=%d, descsz=%d name=%*.*s]\n",
Home |
Main Index |
Thread Index |
Old Index