(no message)
authorRick Adams <rick@ucbvax.Berkeley.EDU>
Thu, 25 Feb 1988 11:52:41 +0000 (03:52 -0800)
committerRick Adams <rick@ucbvax.Berkeley.EDU>
Thu, 25 Feb 1988 11:52:41 +0000 (03:52 -0800)
SCCS-vsn: usr.bin/uucp/uucico/condevs.c 5.16

usr/src/usr.bin/uucp/uucico/condevs.c

index 875c0e1..0f0735d 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)condevs.c  5.15 (Berkeley) %G%";
+static char sccsid[] = "@(#)condevs.c  5.16 (Berkeley) %G%";
 #endif
 
 extern int errno;
 #endif
 
 extern int errno;
@@ -315,10 +315,9 @@ register char *flds[];
                        }
                }
 
                        }
                }
 
-               if (mlock(dev.D_line) == FAIL) {
-                       acustatus++;
+               if (mlock(dev.D_line) == FAIL)
                        continue;
                        continue;
-               }
+
                if (acustatus < 1)
                        acustatus = 1;  /* has been found */
 #ifdef DIALINOUT
                if (acustatus < 1)
                        acustatus = 1;  /* has been found */
 #ifdef DIALINOUT
@@ -557,7 +556,7 @@ char *type, *dev;
                        p = buf + strlen(buf) - 1;
                        if (*p == '\n')
                                *p = '\0';
                        p = buf + strlen(buf) - 1;
                        if (*p == '\n')
                                *p = '\0';
-                       logent(buf,"ACUCNTRL:");
+                       DEBUG(4, "ACUCNTRL: %s\n", buf);
                }
        }
        while(wait(&status) != pid)
                }
        }
        while(wait(&status) != pid)