fixup comments to reflect that softclock no longer gets a frame ptr
[unix-history] / usr / src / old / berknet / setup.c
index 8be7cdf..6b4c524 100644 (file)
@@ -1,4 +1,4 @@
-static char sccsid[] = "@(#)setup.c    4.1     (Berkeley)      %G%";
+static char sccsid[] = "@(#)setup.c    4.2     (Berkeley)      %G%";
 
 /*
        setup.c
 
 /*
        setup.c
@@ -138,8 +138,13 @@ setup(str)
                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);
                }