diff options
author | dg <dg@FreeBSD.org> | 1996-11-10 13:36:46 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-11-10 13:36:46 +0000 |
commit | 92ac74cfdeaefa706d97bde11e2b30856aadb7eb (patch) | |
tree | d958455c41a242503cebabb69eef94c52957dc1e /sys/dev/de | |
parent | 0a257647ab7f4ab1dbefb4c0e972a9db6d187057 (diff) | |
download | FreeBSD-src-92ac74cfdeaefa706d97bde11e2b30856aadb7eb.zip FreeBSD-src-92ac74cfdeaefa706d97bde11e2b30856aadb7eb.tar.gz |
Put the packet error printf inside #ifdef DIAGNOSTIC.
Diffstat (limited to 'sys/dev/de')
-rw-r--r-- | sys/dev/de/if_de.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index 0b590aa..2e84b24 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.53 1996/10/10 19:44:10 wollman Exp $ + * $Id: if_de.c,v 1.54 1996/10/15 19:22:39 bde Exp $ * */ @@ -2312,6 +2312,7 @@ tulip_rx_intr( error = "bad crc"; } } +#ifdef DIAGNOSTIC if (error != NULL && (sc->tulip_flags & TULIP_NOMESSAGES) == 0) { printf(TULIP_PRINTF_FMT ": receive: " TULIP_EADDR_FMT ": %s\n", TULIP_PRINTF_ARGS, @@ -2319,6 +2320,7 @@ tulip_rx_intr( error); sc->tulip_flags |= TULIP_NOMESSAGES; } +#endif } } next: |