SCCS-vsn: old/berknet/setup.c 4.2
SCCS-vsn: old/berknet/sub.c 4.3
-static char sccsid[] = "@(#)setup.c 4.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)setup.c 4.2 (Berkeley) %G%";
exit(EX_OSERR);
}
/* set exclusive use for line */
exit(EX_OSERR);
}
/* set exclusive use for line */
- if(ioctl(netd.dp_linefd,TIOCEXCL,&stt) != 0 ||
- gtty(netd.dp_linefd,&stt) < 0){
+#ifdef TIOCEXCL
+#ifdef VAX
+ (void)
+#endif
+ ioctl(netd.dp_linefd,TIOCEXCL,&stt);
+#endif
+ if(gtty(netd.dp_linefd,&stt) < 0){
perror(str);
exit(EX_OSERR);
}
perror(str);
exit(EX_OSERR);
}
-static char sccsid[] = "@(#)sub.c 4.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)sub.c 4.3 (Berkeley) %G%";