Module Name: src
Committed By: jym
Date: Wed Mar 30 00:17:04 UTC 2011
Modified Files:
src/sys/arch/xen/xen: if_xennet_xenbus.c
Log Message:
printf("xennet: ...") => aprint_error_ifnet()
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/arch/xen/xen/if_xennet_xenbus.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/xen/xen/if_xennet_xenbus.c
diff -u src/sys/arch/xen/xen/if_xennet_xenbus.c:1.46 src/sys/arch/xen/xen/if_xennet_xenbus.c:1.47
--- src/sys/arch/xen/xen/if_xennet_xenbus.c:1.46 Tue Jan 11 23:22:19 2011
+++ src/sys/arch/xen/xen/if_xennet_xenbus.c Wed Mar 30 00:17:04 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: if_xennet_xenbus.c,v 1.46 2011/01/11 23:22:19 jym Exp $ */
+/* $NetBSD: if_xennet_xenbus.c,v 1.47 2011/03/30 00:17:04 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.46 2011/01/11 23:22:19 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_xennet_xenbus.c,v 1.47 2011/03/30 00:17:04 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)) {
- printf("xennet: rx no mbuf\n");
+ aprint_error_ifnet(ifp, "rx no mbuf\n");
ifp->if_ierrors++;
xennet_rx_mbuf_free(NULL, (void *)va, PAGE_SIZE, req);
continue;