diff options
author | Gary E. Miller <gem@rellim.com> | 2013-10-25 01:31:52 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2013-10-25 01:31:52 -0700 |
commit | fe5f393182753efe8db74ea068eeb04ffc58bbec (patch) | |
tree | 7171f37d9d72072b3231441b33aea2b7197de6ae /ntpshm.c | |
parent | 8666f938fbf7d4e366f5ed539d3a736d7245dbea (diff) | |
download | gpsd-fe5f393182753efe8db74ea068eeb04ffc58bbec.tar.gz |
Anoter chrony socket error reporting tweak.
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |