adjust format args for compiler changes

This commit is contained in:
mjacob 1999-03-04 02:38:31 +00:00
parent fefcc128bf
commit d7e48cb804
3 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_tun.c,v 1.36 1998/11/30 21:43:11 sommerfe Exp $ */
/* $NetBSD: if_tun.c,v 1.37 1999/03/04 02:38:31 mjacob Exp $ */
/*
* Copyright (c) 1988, Julian Onions <jpo@cs.nott.ac.uk>
@ -556,7 +556,8 @@ tunwrite(dev, uio, ioflag)
}
if (uio->uio_resid < 0 || uio->uio_resid > TUNMTU) {
TUNDEBUG("%s: len=%d!\n", ifp->if_xname, uio->uio_resid);
TUNDEBUG("%s: len=%lu!\n", ifp->if_xname,
(unsigned long)uio->uio_resid);
return (EIO);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_eon.c,v 1.24 1998/07/05 01:06:50 jonathan Exp $ */
/* $NetBSD: if_eon.c,v 1.25 1999/03/04 02:39:36 mjacob Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -258,8 +258,8 @@ eoniphdr(hdr, loc, ro, class, zero)
mhead.m_next = 0;
#ifdef ARGO_DEBUG
if (argo_debug[D_EON]) {
printf("eonoutput : gen csum (%p, offset %d, datalen %ld)\n",
&mhead, offsetof(struct eon_hdr, eonh_csum),
printf("eonoutput : gen csum (%p, offset %lu, datalen %ld)\n",
&mhead, (unsigned long)offsetof(struct eon_hdr, eonh_csum),
(long)sizeof(struct eon_hdr));
}
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: tp_emit.c,v 1.10 1996/10/13 02:04:35 christos Exp $ */
/* $NetBSD: tp_emit.c,v 1.11 1999/03/04 02:40:20 mjacob Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -669,9 +669,9 @@ tp_emit(dutype, tpcb, seq, eot, data)
#ifdef ARGO_DEBUG
if (argo_debug[D_ACKSEND]) {
printf("Calling ADDOPTION 0x%x, %p, 0x%x,0x%x\n",
printf("Calling ADDOPTION 0x%x, %p, 0x%lx,0x%x\n",
TPP_flow_cntl_conf,
hdr, sizeof(bogus), bogus[0]);
hdr, (unsigned long)sizeof(bogus), bogus[0]);
}
#endif
ADDOPTION(TPP_flow_cntl_conf, hdr, sizeof(bogus), bogus[0]);