Module Name:    src
Committed By:   nisimura
Date:           Wed Jan 19 07:55:13 UTC 2011

Modified Files:
        src/sbin/atactl: atactl.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/sbin/atactl/atactl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/atactl/atactl.c
diff -u src/sbin/atactl/atactl.c:1.58 src/sbin/atactl/atactl.c:1.59
--- src/sbin/atactl/atactl.c:1.58	Fri Jan 14 06:02:57 2011
+++ src/sbin/atactl/atactl.c	Wed Jan 19 07:55:12 2011
@@ -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]);
 }
 

Reply via email to