Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/pcmcia Pull up revision 1.26 (requested by mjac...



details:   https://anonhg.NetBSD.org/src/rev/26fe83a4384d
branches:  netbsd-1-5
changeset: 490542:26fe83a4384d
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Fri Jan 26 00:32:07 2001 +0000

description:
Pull up revision 1.26 (requested by mjacob):
  Cast pktlen to u_long and print with %ld. Now it compiles on the alpha.

diffstat:

 sys/dev/pcmcia/if_ray.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r df27c15d1e92 -r 26fe83a4384d sys/dev/pcmcia/if_ray.c
--- a/sys/dev/pcmcia/if_ray.c   Fri Jan 26 00:23:00 2001 +0000
+++ b/sys/dev/pcmcia/if_ray.c   Fri Jan 26 00:32:07 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ray.c,v 1.20.2.2 2000/12/15 00:15:01 he Exp $       */
+/*     $NetBSD: if_ray.c,v 1.20.2.3 2001/01/26 00:32:07 jhawk Exp $    */
 /* 
  * Copyright (c) 2000 Christian E. Hopps
  * All rights reserved.
@@ -1587,8 +1587,8 @@
        }
 
        if (pktlen < sizeof(*frame) + sizeof(struct llc)) {
-               RAY_DPRINTF(("%s: pkt too small for llc (%d)\n",
-                   sc->sc_xname, pktlen));
+               RAY_DPRINTF(("%s: pkt too small for llc (%ld)\n",
+                   sc->sc_xname, (u_long)pktlen));
                m_freem(m);
                return;
        }



Home | Main Index | Thread Index | Old Index