Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libsa Fix compilation on Alpha with ARP_DEBUG.



details:   https://anonhg.NetBSD.org/src/rev/2f1b4b88f2c2
branches:  trunk
changeset: 516220:2f1b4b88f2c2
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Oct 18 19:00:38 2001 +0000

description:
Fix compilation on Alpha with ARP_DEBUG.
Fixes kern/6440 by R. C. Dowdeswell

diffstat:

 sys/lib/libsa/arp.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c0b828318f1a -r 2f1b4b88f2c2 sys/lib/libsa/arp.c
--- a/sys/lib/libsa/arp.c       Thu Oct 18 18:41:22 2001 +0000
+++ b/sys/lib/libsa/arp.c       Thu Oct 18 19:00:38 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arp.c,v 1.21 2000/03/30 12:19:47 augustss Exp $        */
+/*     $NetBSD: arp.c,v 1.22 2001/10/18 19:00:38 jdolecek Exp $        */
 
 /*
  * Copyright (c) 1992 Regents of the University of California.
@@ -211,7 +211,7 @@
        if (n == -1 || n < sizeof(struct ether_arp)) {
 #ifdef ARP_DEBUG
                if (debug)
-                       printf("bad len=%d\n", n);
+                       printf("bad len=%ld\n", (signed long) n);
 #endif
                return (-1);
        }



Home | Main Index | Thread Index | Old Index