bk: 5121e3cax7ZOQm8GzuvSJ0WUDAFYJw
* CID 739708: Check return status of fcntl() in refclock_arc.c.
+* CID 739709: Check return status of fcntl() in refclock_datum.c.
* CID 739723: Print sizeof as unsigned.
* CID 971094: Clean up time of check/time of use in check_leap_file().
(4.2.7p354) 2013/02/10 Released by Harlan Stenn <stenn@ntp.org>
datum_pts->PTS_fd = fd;
- fcntl(datum_pts->PTS_fd, F_SETFL, 0); /* clear the descriptor flags */
+ if (-1 == fcntl(datum_pts->PTS_fd, F_SETFL, 0)) /* clear the descriptor flags */
+ msyslog(LOG_ERR, "MSF_ARCRON(%d): fcntl(F_SETFL, 0): %m.\n",
+ unit);
#ifdef DEBUG_DATUM_PTC
if (debug)