From fa61532ff019f98f3e86dc54f4aec4ee8ceaccdb Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Sat, 7 Jun 2003 21:14:43 +0000 Subject: print minor version as 02d; from Adam Montague via pr 3284; matches what freebsd does as well --- sys/dev/ic/if_wi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/ic') 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), ", -- cgit v1.2.3