Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/xen Do not clobber autoconf messages (and varia...
details: https://anonhg.NetBSD.org/src/rev/b13adb715b47
branches: trunk
changeset: 763683:b13adb715b47
user: jym <jym%NetBSD.org@localhost>
date: Wed Mar 30 18:33:05 2011 +0000
description:
Do not clobber autoconf messages (and variables, for error reporting)
in xennet(4) handler. Keep if_xname though.
Reported by dyoung@, thanks.
diffstat:
sys/arch/xen/xen/if_xennet_xenbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f5716c25cd0a -r b13adb715b47 sys/arch/xen/xen/if_xennet_xenbus.c
--- a/sys/arch/xen/xen/if_xennet_xenbus.c Wed Mar 30 18:31:15 2011 +0000
+++ b/sys/arch/xen/xen/if_xennet_xenbus.c Wed Mar 30 18:33:05 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_xennet_xenbus.c,v 1.47 2011/03/30 00:17:04 jym Exp $ */
+/* $NetBSD: if_xennet_xenbus.c,v 1.48 2011/03/30 18:33:05 jym Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -85,7 +85,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.47 2011/03/30 00:17:04 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.48 2011/03/30 18:33:05 jym Exp $");
#include "opt_xen.h"
#include "opt_nfs_boot.h"
@@ -961,7 +961,7 @@
}
MGETHDR(m, M_DONTWAIT, MT_DATA);
if (__predict_false(m == NULL)) {
- aprint_error_ifnet(ifp, "rx no mbuf\n");
+ printf("%s: rx no mbuf\n", ifp->if_xname);
ifp->if_ierrors++;
xennet_rx_mbuf_free(NULL, (void *)va, PAGE_SIZE, req);
continue;
Home |
Main Index |
Thread Index |
Old Index