fix typo
authorJim Bloom <bloom@ucbvax.Berkeley.EDU>
Thu, 6 Feb 1986 10:30:22 +0000 (02:30 -0800)
committerJim Bloom <bloom@ucbvax.Berkeley.EDU>
Thu, 6 Feb 1986 10:30:22 +0000 (02:30 -0800)
SCCS-vsn: usr.sbin/timed/timed/timed.c 2.2

usr/src/usr.sbin/timed/timed/timed.c

index 5507fbc..11dc96c 100644 (file)
@@ -11,7 +11,7 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)timed.c    2.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)timed.c    2.2 (Berkeley) %G%";
 #endif not lint
 
 #include "globals.h"
 #endif not lint
 
 #include "globals.h"
@@ -405,7 +405,7 @@ char **argv;
                case 1: 
                        /* from slave */
                        for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
                case 1: 
                        /* from slave */
                        for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
-                               if (ntp->status = SLAVE)
+                               if (ntp->status == SLAVE)
                                        break;
                        }
                        ntp->status = election(ntp);
                                        break;
                        }
                        ntp->status = election(ntp);