Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/envstat fix a typo resulting in warn-max being show...



details:   https://anonhg.NetBSD.org/src/rev/3a596224c71b
branches:  trunk
changeset: 751940:3a596224c71b
user:      cnst <cnst%NetBSD.org@localhost>
date:      Tue Feb 09 05:32:51 2010 +0000

description:
fix a typo resulting in warn-max being shown in two columns (one time instead of crit-min); ok pgoyette

diffstat:

 usr.sbin/envstat/envstat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r efffd77f0b73 -r 3a596224c71b usr.sbin/envstat/envstat.c
--- a/usr.sbin/envstat/envstat.c        Tue Feb 09 04:40:52 2010 +0000
+++ b/usr.sbin/envstat/envstat.c        Tue Feb 09 05:32:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: envstat.c,v 1.73 2010/01/30 02:56:39 pgoyette Exp $ */
+/* $NetBSD: envstat.c,v 1.74 2010/02/09 05:32:51 cnst Exp $ */
 
 /*-
  * Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -27,7 +27,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: envstat.c,v 1.73 2010/01/30 02:56:39 pgoyette Exp $");
+__RCSID("$NetBSD: envstat.c,v 1.74 2010/02/09 05:32:51 cnst Exp $");
 #endif /* not lint */
 
 #include <stdio.h>
@@ -843,7 +843,7 @@
                                PRINTTEMP(sensor->critmax_value);
                                PRINTTEMP(sensor->warnmax_value);
                                PRINTTEMP(sensor->warnmin_value);
-                               PRINTTEMP(sensor->warnmax_value);
+                               PRINTTEMP(sensor->critmin_value);
                        }
                        (void)printf("%*s", (int)ilen - 4, stype);
 #undef PRINTTEMP



Home | Main Index | Thread Index | Old Index