summaryrefslogtreecommitdiff
path: root/ntpshm.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2013-10-25 01:31:52 -0700
committerGary E. Miller <gem@rellim.com>2013-10-25 01:31:52 -0700
commitfe5f393182753efe8db74ea068eeb04ffc58bbec (patch)
tree7171f37d9d72072b3231441b33aea2b7197de6ae /ntpshm.c
parent8666f938fbf7d4e366f5ed539d3a736d7245dbea (diff)
downloadgpsd-fe5f393182753efe8db74ea068eeb04ffc58bbec.tar.gz
Anoter chrony socket error reporting tweak.
Diffstat (limited to 'ntpshm.c')
-rw-r--r--ntpshm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ntpshm.c b/ntpshm.c
index 9b9ee079..96a01fc1 100644
--- a/ntpshm.c
+++ b/ntpshm.c
@@ -691,8 +691,8 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg)
chronyfd = netlib_localsocket(chrony_path, SOCK_DGRAM);
if (chronyfd < 0)
gpsd_report(session->context->debug, LOG_PROG,
- "PPS can not connect chrony socket: %s, error: %d, errno: %d\n",
- chrony_path, chronyfd, errno);
+ "PPS connect chrony socket failed: %s, error: %d, errno: %d/%s\n",
+ chrony_path, chronyfd, errno, strerror(errno));
else
gpsd_report(session->context->debug, LOG_RAW,
"PPS using chrony socket: %s\n", chrony_path);