X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fsys-osf.c;h=920b30af1315cadac88fb7003c554e024b7f5184;hb=739142cddb7369c7611eeed081a80d52b7b992c9;hp=6d882a95c3af914e9bf105ced7c78d7df019de7a;hpb=bbaa125b02eedc3133a7db1618adc6b76474bab9;p=ppp.git diff --git a/pppd/sys-osf.c b/pppd/sys-osf.c index 6d882a9..920b30a 100644 --- a/pppd/sys-osf.c +++ b/pppd/sys-osf.c @@ -25,9 +25,7 @@ * OR MODIFICATIONS. */ -#ifndef lint -static char rcsid[] = "$Id: sys-osf.c,v 1.27 1999/05/12 06:16:16 paulus Exp $"; -#endif +#define RCSID "$Id: sys-osf.c,v 1.30 1999/08/13 06:46:18 paulus Exp $" #include #include @@ -61,6 +59,8 @@ static char rcsid[] = "$Id: sys-osf.c,v 1.27 1999/05/12 06:16:16 paulus Exp $"; #include "pppd.h" +static const char rcsid[] = RCSID; + static int pppfd; static int fdmuxid = -1; static int iffd; @@ -844,7 +844,7 @@ read_packet(buf) flags = 0; len = getmsg(pppfd, &ctrl, &data, &flags); if (len < 0) { - if (errno = EAGAIN || errno == EWOULDBLOCK || errno == EINTR) + if (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR) return -1; fatal("Error reading packet: %m"); }