diff options
-rw-r--r-- | sbin/wicontrol/wicontrol.c | 6 | ||||
-rw-r--r-- | sys/dev/ic/if_wi.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sbin/wicontrol/wicontrol.c b/sbin/wicontrol/wicontrol.c index deb10d1bb49..b0acb8cac97 100644 --- a/sbin/wicontrol/wicontrol.c +++ b/sbin/wicontrol/wicontrol.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wicontrol.c,v 1.44 2002/12/12 04:21:18 deraadt Exp $ */ +/* $OpenBSD: wicontrol.c,v 1.45 2003/06/07 21:14:42 mickey Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -69,7 +69,7 @@ static const char copyright[] = "@(#) Copyright (c) 1997, 1998, 1999\ Bill Paul. All rights reserved."; static const char rcsid[] = - "@(#) $OpenBSD: wicontrol.c,v 1.44 2002/12/12 04:21:18 deraadt Exp $"; + "@(#) $OpenBSD: wicontrol.c,v 1.45 2003/06/07 21:14:42 mickey Exp $"; #endif void wi_getval(char *, struct wi_req *); @@ -378,7 +378,7 @@ wi_printcardid(struct wi_req *wreq, u_int16_t chip_id) letoh16(wreq->wi_val[2]), letoh16(wreq->wi_val[3]), letoh16(wreq->wi_val[1])); else - printf("[ %s, Firmware %d.%d variant %d ]", chip_name, + printf("[ %s, Firmware %d.%02d variant %d ]", chip_name, letoh16(wreq->wi_val[2]), letoh16(wreq->wi_val[3]), letoh16(wreq->wi_val[1])); } diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c index 8894f71a452..a14bf871442 100644 --- a/sys/dev/ic/if_wi.c +++ b/sys/dev/ic/if_wi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi.c,v 1.95 2003/04/26 08:01:42 jmc Exp $ */ +/* $OpenBSD: if_wi.c,v 1.96 2003/06/07 21:14:42 mickey Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -124,7 +124,7 @@ u_int32_t widebug = WIDEBUG; #if !defined(lint) && !defined(__OpenBSD__) static const char rcsid[] = - "$OpenBSD: if_wi.c,v 1.95 2003/04/26 08:01:42 jmc Exp $"; + "$OpenBSD: if_wi.c,v 1.96 2003/06/07 21:14:42 mickey Exp $"; #endif /* lint */ #ifdef foo @@ -2474,7 +2474,7 @@ wi_get_id(sc) } if (sc->sc_firmware_type == WI_LUCENT) { - printf("\n%s: Firmware %d.%d variant %d, ", WI_PRT_ARG(sc), + printf("\n%s: Firmware %d.%02d variant %d, ", WI_PRT_ARG(sc), ver.wi_ver[2], ver.wi_ver[3], ver.wi_ver[1]); } else { printf("\n%s: %s%s, Firmware %d.%d.%d (primary), %d.%d.%d (station), ", |