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:
parent
ea133b3669
commit
9d6d9b8c20
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user