Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/envstat Print the correct value for critmin of a fa...
details: https://anonhg.NetBSD.org/src/rev/48be0e19077f
branches: trunk
changeset: 756787:48be0e19077f
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Aug 01 15:39:52 2010 +0000
description:
Print the correct value for critmin of a fan sensor.
diffstat:
usr.sbin/envstat/envstat.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a60a27e9d0a4 -r 48be0e19077f usr.sbin/envstat/envstat.c
--- a/usr.sbin/envstat/envstat.c Sun Aug 01 15:38:27 2010 +0000
+++ b/usr.sbin/envstat/envstat.c Sun Aug 01 15:39:52 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: envstat.c,v 1.77 2010/02/15 22:37:14 pgoyette Exp $ */
+/* $NetBSD: envstat.c,v 1.78 2010/08/01 15:39:52 mlelstv Exp $ */
/*-
* Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: envstat.c,v 1.77 2010/02/15 22:37:14 pgoyette Exp $");
+__RCSID("$NetBSD: envstat.c,v 1.78 2010/08/01 15:39:52 mlelstv Exp $");
#endif /* not lint */
#include <stdio.h>
@@ -895,7 +895,7 @@
if (sensor->critmin_value) {
(void)printf( "%*u ", (int)ilen,
- sensor->warnmax_value);
+ sensor->critmin_value);
ilen = 8;
} else
ilen += 9;
Home |
Main Index |
Thread Index |
Old Index