Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Fix a pasto in printf arguments which resulted in...



details:   https://anonhg.NetBSD.org/src/rev/f980ed8d66cf
branches:  trunk
changeset: 532117:f980ed8d66cf
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 31 17:36:29 2002 +0000

description:
Fix a pasto in printf arguments which resulted in the aac kernel
version being mis-reported.

diffstat:

 sys/dev/ic/aac.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 705e9795b64a -r f980ed8d66cf sys/dev/ic/aac.c
--- a/sys/dev/ic/aac.c  Fri May 31 17:34:08 2002 +0000
+++ b/sys/dev/ic/aac.c  Fri May 31 17:36:29 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aac.c,v 1.1 2002/04/26 02:05:11 ad Exp $       */
+/*     $NetBSD: aac.c,v 1.2 2002/05/31 17:36:29 thorpej Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aac.c,v 1.1 2002/04/26 02:05:11 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aac.c,v 1.2 2002/05/31 17:36:29 thorpej Exp $");
 
 #include "locators.h"
 
@@ -357,8 +357,7 @@
            le32toh(info->ClockSpeed),
            le32toh(info->BufferMem) / (1024 * 1024),
            aac_describe_code(aac_battery_platform,
-           le32toh(info->batteryPlatform)),
-           le32toh(info->batteryPlatform),
+                             le32toh(info->batteryPlatform)),
            info->KernelRevision.external.comp.major,
            info->KernelRevision.external.comp.minor,
            info->KernelRevision.external.comp.dash);



Home | Main Index | Thread Index | Old Index