Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Fix compilation for ppc
details: https://anonhg.NetBSD.org/src/rev/19db062c1f98
branches: trunk
changeset: 345128:19db062c1f98
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon May 09 07:02:10 2016 +0000
description:
Fix compilation for ppc
diffstat:
sys/netinet/ip_output.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f625c0411bfa -r 19db062c1f98 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c Mon May 09 04:55:34 2016 +0000
+++ b/sys/netinet/ip_output.c Mon May 09 07:02:10 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_output.c,v 1.254 2016/05/04 15:42:32 christos Exp $ */
+/* $NetBSD: ip_output.c,v 1.255 2016/05/09 07:02:10 ozaki-r Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.254 2016/05/04 15:42:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.255 2016/05/09 07:02:10 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1500,7 +1500,7 @@
static int
ip_add_membership(struct ip_moptions *imo, const struct sockopt *sopt)
{
- struct ifnet *ifp;
+ struct ifnet *ifp = NULL; // XXX: gcc [ppc]
struct in_addr ia;
int i, error;
Home |
Main Index |
Thread Index |
Old Index