Source-Changes-HG archive

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

[src/trunk]: src fix mislabelled S.M.A.R.T. lifetime temperature record reading.



details:   https://anonhg.NetBSD.org/src/rev/1b30e8209f27
branches:  trunk
changeset: 761038:1b30e8209f27
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Wed Jan 19 07:55:12 2011 +0000

description:
fix mislabelled S.M.A.R.T. lifetime temperature record reading.

diffstat:

 doc/CHANGES          |  4 +++-
 sbin/atactl/atactl.c |  6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r b766f15ae0d5 -r 1b30e8209f27 doc/CHANGES
--- a/doc/CHANGES       Wed Jan 19 04:33:13 2011 +0000
+++ b/doc/CHANGES       Wed Jan 19 07:55:12 2011 +0000
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:                   <$Revision: 1.1493 $>
+# LIST OF CHANGES FROM LAST RELEASE:                   <$Revision: 1.1494 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -831,3 +831,5 @@
                [jmcneill 20110117]
        isns(3): Add a library providing iSNS (IETF RFC 4171) protocol
                support, contributed by Wasabi Systems. [agc 20110117]
+       atactl(8): Fix mislabelled S.M.A.R.T. lifetime temperature record
+               reading. [nisimura 20110119]
diff -r b766f15ae0d5 -r 1b30e8209f27 sbin/atactl/atactl.c
--- a/sbin/atactl/atactl.c      Wed Jan 19 04:33:13 2011 +0000
+++ b/sbin/atactl/atactl.c      Wed Jan 19 07:55:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atactl.c,v 1.58 2011/01/14 06:02:57 nisimura Exp $     */
+/*     $NetBSD: atactl.c,v 1.59 2011/01/19 07:55:12 nisimura Exp $     */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: atactl.c,v 1.58 2011/01/14 06:02:57 nisimura Exp $");
+__RCSID("$NetBSD: atactl.c,v 1.59 2011/01/19 07:55:12 nisimura Exp $");
 #endif
 
 
@@ -475,7 +475,7 @@
 {
        printf("%" PRIu8, attr->raw[0]);
        if (attr->raw[0] != raw_value)
-               printf(" Lifetime max/min %" PRIu8 "/%" PRIu8, 
+               printf(" Lifetime min/max %" PRIu8 "/%" PRIu8, 
                    attr->raw[2], attr->raw[4]);
 }
 



Home | Main Index | Thread Index | Old Index