Module Name: src
Committed By: cnst
Date: Tue Feb 9 05:32:51 UTC 2010
Modified Files:
src/usr.sbin/envstat: envstat.c
Log Message:
fix a typo resulting in warn-max being shown in two columns (one time instead
of crit-min); ok pgoyette
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/usr.sbin/envstat/envstat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/envstat/envstat.c
diff -u src/usr.sbin/envstat/envstat.c:1.73 src/usr.sbin/envstat/envstat.c:1.74
--- src/usr.sbin/envstat/envstat.c:1.73 Sat Jan 30 02:56:39 2010
+++ src/usr.sbin/envstat/envstat.c Tue Feb 9 05:32:51 2010
@@ -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