summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sk.c
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-08-19 16:31:43 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-08-19 16:31:43 +0000
commit4400cbb1596c52f50a04d4bc503449017188ff11 (patch)
tree7298fb12eafc2645686fc0709c7b0c91352f1690 /sys/dev/pci/if_sk.c
parent195a2f5023c922ae45b04a8fbd385962b887dcef (diff)
Don't complain about lack of jumbo storage when processing incoming packets
unless we're debugging.
Diffstat (limited to 'sys/dev/pci/if_sk.c')
-rw-r--r--sys/dev/pci/if_sk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index 4a8d8e6400b..9db70de4f33 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.43 2004/08/05 19:57:17 brad Exp $ */
+/* $OpenBSD: if_sk.c,v 1.44 2004/08/19 16:31:42 mcbride Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -882,7 +882,8 @@ sk_jalloc(struct sk_if_softc *sc_if)
entry = LIST_FIRST(&sc_if->sk_jfree_listhead);
if (entry == NULL) {
- printf("%s: no free jumbo buffers\n", sc_if->sk_dev.dv_xname);
+ DPRINTF(("%s: no free jumbo buffers\n",
+ sc_if->sk_dev.dv_xname));
return (NULL);
}