diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-21 04:07:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-21 04:07:14 +0000 |
commit | d8c97c7d4206ddd1bf3d1bd630df8b8552e4fd86 (patch) | |
tree | cce5bbc0ba0c35a0abf088730bc7136677537307 /usr.bin/systat/sensors.c | |
parent | 5d2dbe5b81b50026bfa876dbd5e01c3c9a410f90 (diff) |
Add the "angle" sensor, measured in degrees; from Luis Pinto
Diffstat (limited to 'usr.bin/systat/sensors.c')
-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 f5d1cc630ca..5c5841c82a0 100644 --- a/usr.bin/systat/sensors.c +++ b/usr.bin/systat/sensors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensors.c,v 1.21 2010/04/20 20:49:35 deraadt Exp $ */ +/* $OpenBSD: sensors.c,v 1.22 2010/04/21 04:07:13 deraadt Exp $ */ /* * Copyright (c) 2007 Deanna Phillips <deanna@openbsd.org> @@ -270,6 +270,9 @@ showsensor(struct sensinfo *s) case SENSOR_FREQ: tbprintf("%11lld Hz", s->sn_value); break; + case SENSOR_ANGLE: + tbprintf("%10lld deg", s->sn_value); + break; default: tbprintf("%10lld", s->sn_value); break; |