X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/ed554bc5e4201344d7eaad78263566e79428759c..fd88f5c5678c80ff5e338adc372d28a52ad20530:/usr/src/usr.sbin/timed/timedc/cmds.c diff --git a/usr/src/usr.sbin/timed/timedc/cmds.c b/usr/src/usr.sbin/timed/timedc/cmds.c index 557f721c47..4ed209d3e9 100644 --- a/usr/src/usr.sbin/timed/timedc/cmds.c +++ b/usr/src/usr.sbin/timed/timedc/cmds.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)cmds.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)cmds.c 8.2 (Berkeley) 3/26/95"; #endif /* not lint */ #ifdef sgi @@ -113,7 +113,7 @@ daydiff(hostname) i = select(sock+1, &ready, (fd_set *)0, (fd_set *)0, &tout); if (i < 0) { - if (errno = EINTR) + if (errno == EINTR) continue; perror("select(date read)"); return 0;