diff options
Diffstat (limited to 'usr.bin/systat')
-rw-r--r-- | usr.bin/systat/sensors.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/systat/sensors.c b/usr.bin/systat/sensors.c index 5d4c2737a59..e4c9cbe982b 100644 --- a/usr.bin/systat/sensors.c +++ b/usr.bin/systat/sensors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensors.c,v 1.19 2010/04/15 04:57:29 yuo Exp $ */ +/* $OpenBSD: sensors.c,v 1.20 2010/04/20 19:44:07 oga Exp $ */ /* * Copyright (c) 2007 Deanna Phillips <deanna@openbsd.org> @@ -264,6 +264,9 @@ showsensor(struct sensinfo *s) case SENSOR_HUMIDITY: tbprintf("%3.2f%%", s->sn_value / 1000.0); break; + case SENSOR_FREQ: + tbprintf("%11lld Hz", s->sn_value); + break; default: tbprintf("%10lld", s->sn_value); break; |