summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-07 21:14:43 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-07 21:14:43 +0000
commitfa61532ff019f98f3e86dc54f4aec4ee8ceaccdb (patch)
treef8d7751a430674213955b8542730bf52bb312375 /sys/dev
parent783a47ed95e5f512479b66804a38bc309a86997d (diff)
print minor version as 02d; from Adam Montague via pr 3284; matches what freebsd does as well
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/if_wi.c6
1 files changed, 3 insertions, 3 deletions
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), ",