Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net - remove printf
details: https://anonhg.NetBSD.org/src/rev/9b71f52dabb3
branches: trunk
changeset: 344622:9b71f52dabb3
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 08 12:01:22 2016 +0000
description:
- remove printf
- fix indent
diffstat:
sys/net/rtsock.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 8c01b550b352 -r 9b71f52dabb3 sys/net/rtsock.c
--- a/sys/net/rtsock.c Fri Apr 08 11:56:43 2016 +0000
+++ b/sys/net/rtsock.c Fri Apr 08 12:01:22 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtsock.c,v 1.181 2016/04/07 21:41:02 christos Exp $ */
+/* $NetBSD: rtsock.c,v 1.182 2016/04/08 12:01:22 christos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.181 2016/04/07 21:41:02 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock.c,v 1.182 2016/04/08 12:01:22 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -471,7 +471,7 @@
? &la->ll_addr : NULL;
a = sockaddr_dl_init(sdl, sizeof(*sdl), ifp->if_index, ifp->if_type,
- NULL, 0, a, ifp->if_addrlen);
+ NULL, 0, a, ifp->if_addrlen);
KASSERT(a != NULL);
if (la != NULL) {
@@ -1028,7 +1028,6 @@
rtm->rtm_msglen = len;
rtm->rtm_version = RTM_XVERSION;
rtm->rtm_type = type;
-printf("%s: type=%#x len=%d\n", __func__, type, len);
return m;
out:
m_freem(m);
Home |
Main Index |
Thread Index |
Old Index