Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/usr.bin/sockstat Pull up following revision(s) (requested...
details: https://anonhg.NetBSD.org/src/rev/6154070811a1
branches: netbsd-3
changeset: 577310:6154070811a1
user: tron <tron%NetBSD.org@localhost>
date: Thu Oct 06 11:36:05 2005 +0000
description:
Pull up following revision(s) (requested by rpaulo in ticket #860):
usr.bin/sockstat/sockstat.c: revision 1.7
appease gcc -Wuninitialized
diffstat:
usr.bin/sockstat/sockstat.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r eb792a2e1a9d -r 6154070811a1 usr.bin/sockstat/sockstat.c
--- a/usr.bin/sockstat/sockstat.c Thu Oct 06 11:35:55 2005 +0000
+++ b/usr.bin/sockstat/sockstat.c Thu Oct 06 11:36:05 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sockstat.c,v 1.4.2.2 2005/10/06 11:35:55 tron Exp $ */
+/* $NetBSD: sockstat.c,v 1.4.2.3 2005/10/06 11:36:05 tron Exp $ */
/*
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: sockstat.c,v 1.4.2.2 2005/10/06 11:35:55 tron Exp $");
+__RCSID("$NetBSD: sockstat.c,v 1.4.2.3 2005/10/06 11:36:05 tron Exp $");
#endif
#include <sys/param.h>
@@ -604,7 +604,7 @@
print_addr(int l, int t, int f, struct sockaddr *sa)
{
char sabuf[256], pbuf[32];
- int r;
+ int r = 0;
if (!(f & INP_ANONPORT))
f = 0;
Home |
Main Index |
Thread Index |
Old Index