diff options
author | 2015-01-08 00:25:47 +0000 | |
---|---|---|
committer | 2015-01-08 00:25:47 +0000 | |
commit | b2c68928445ec8fe479456db69111ff140beeab1 (patch) | |
tree | 24f0ab7bc210c5d93e1e90ed3e79fec38c956309 | |
parent | Do not need sys/param.h (diff) | |
download | wireguard-openbsd-b2c68928445ec8fe479456db69111ff140beeab1.tar.xz wireguard-openbsd-b2c68928445ec8fe479456db69111ff140beeab1.zip |
use the correct format string for refid
ok deraadt@
-rw-r--r-- | usr.sbin/ntpd/sensors.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/sensors.c b/usr.sbin/ntpd/sensors.c index f3b39ca13c5..2b0ba706117 100644 --- a/usr.sbin/ntpd/sensors.c +++ b/usr.sbin/ntpd/sensors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sensors.c,v 1.47 2013/10/04 14:28:16 phessler Exp $ */ +/* $OpenBSD: sensors.c,v 1.48 2015/01/08 00:25:47 bcook Exp $ */ /* * Copyright (c) 2006 Henning Brauer <henning@openbsd.org> @@ -148,9 +148,9 @@ sensor_add(int sensordev, char *dxname) TAILQ_INSERT_TAIL(&conf->ntp_sensors, s, entry); - log_debug("sensor %s added (weight %d, correction %.6f, refstr %.4s, " + log_debug("sensor %s added (weight %d, correction %.6f, refstr %.4u, " "stratum %d)", s->device, s->weight, s->correction / 1e6, - &s->refid, s->stratum); + s->refid, s->stratum); } void |