1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Fix warnings:

musycc.c:449: warning: long unsigned int format, unsigned int arg (arg 3)
musycc.c:449: warning: long unsigned int format, unsigned int arg (arg 4)
musycc.c:453: warning: long unsigned int format, unsigned int arg (arg 3)
musycc.c:453: warning: long unsigned int format, unsigned int arg (arg 4)
musycc.c:453: warning: long unsigned int format, unsigned int arg (arg 5)
These warnings used to be confined to the alpha but are on all now.
This commit is contained in:
Peter Wemm 2001-06-15 00:19:43 +00:00
parent 5c176b95c2
commit c5d8f2e6b1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78236

View File

@ -446,11 +446,12 @@ status_chans(struct softc *sc, char *s)
sprintf(s + strlen(s), "c%2d:", i);
sprintf(s + strlen(s), " ts %08x", scp->ts);
sprintf(s + strlen(s), " RX %lus/%lus",
time_second - scp->last_recv, time_second - scp->last_rxerr);
(long)(time_second - scp->last_recv),
(long)(time_second - scp->last_rxerr));
sprintf(s + strlen(s), " TX %lus/%lus/%lus",
time_second - scp->last_xmit,
time_second - scp->last_txerr,
time_second - scp->last_txdrop);
(long)(time_second - scp->last_xmit),
(long)(time_second - scp->last_txerr),
(long)(time_second - scp->last_txdrop));
sprintf(s + strlen(s), " TXdrop %lu Pend %lu",
scp->tx_drop,
scp->tx_pending);