Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/kern Pull up following revision(s) (requested by mrg ...
details: https://anonhg.NetBSD.org/src/rev/e358856e6364
branches: netbsd-9
changeset: 369952:e358856e6364
user: martin <martin%NetBSD.org@localhost>
date: Sat Sep 10 08:19:34 2022 +0000
description:
Pull up following revision(s) (requested by mrg in ticket #1517):
sys/kern/kern_core.c: revision 1.37
avoid a GCC warning (happens on -current, -9, and -8.)
diffstat:
sys/kern/kern_core.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4620d9800d1f -r e358856e6364 sys/kern/kern_core.c
--- a/sys/kern/kern_core.c Fri Sep 09 18:21:47 2022 +0000
+++ b/sys/kern/kern_core.c Sat Sep 10 08:19:34 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_core.c,v 1.24.22.2 2022/09/09 18:20:51 martin Exp $ */
+/* $NetBSD: kern_core.c,v 1.24.22.3 2022/09/10 08:19:34 martin Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_core.c,v 1.24.22.2 2022/09/09 18:20:51 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_core.c,v 1.24.22.3 2022/09/10 08:19:34 martin Exp $");
#include <sys/param.h>
#include <sys/vnode.h>
@@ -104,7 +104,7 @@
struct coredump_iostate io;
struct plimit *lim;
int error, error1;
- char *name, *lastslash;
+ char *name, *lastslash = NULL /* XXXgcc */;
name = PNBUF_GET();
Home |
Main Index |
Thread Index |
Old Index