diff options
Diffstat (limited to 'usr.bin/systat/sensors.c')
-rw-r--r-- | usr.bin/systat/sensors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/sensors.c b/usr.bin/systat/sensors.c index 5c5841c82a0..2472b8a708e 100644 --- a/usr.bin/systat/sensors.c +++ b/usr.bin/systat/sensors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensors.c,v 1.22 2010/04/21 04:07:13 deraadt Exp $ */ +/* $OpenBSD: sensors.c,v 1.23 2010/04/21 19:40:59 deraadt Exp $ */ /* * Copyright (c) 2007 Deanna Phillips <deanna@openbsd.org> @@ -271,7 +271,7 @@ showsensor(struct sensinfo *s) tbprintf("%11lld Hz", s->sn_value); break; case SENSOR_ANGLE: - tbprintf("%10lld deg", s->sn_value); + tbprintf("%3.4f degrees", s->sn_value / 1000000.0); break; default: tbprintf("%10lld", s->sn_value); |