svn commit: r240388 - head/usr.sbin/timed/timed

Kevin Lo kevlo at FreeBSD.org
Wed Sep 12 10:16:40 UTC 2012


Author: kevlo
Date: Wed Sep 12 10:16:39 2012
New Revision: 240388
URL: http://svn.freebsd.org/changeset/base/240388

Log:
  Add missing braces
  
  Obtained from:	DragonFly

Modified:
  head/usr.sbin/timed/timed/timed.c

Modified: head/usr.sbin/timed/timed/timed.c
==============================================================================
--- head/usr.sbin/timed/timed/timed.c	Wed Sep 12 10:12:03 2012	(r240387)
+++ head/usr.sbin/timed/timed/timed.c	Wed Sep 12 10:16:39 2012	(r240388)
@@ -418,9 +418,10 @@ main(argc, argv)
 			justquit = 1;
 		}
 		for (ntp = nettab; ntp != NULL; ntp = ntp->next) {
-			if (ntp->status == MASTER)
+			if (ntp->status == MASTER) {
 				rmnetmachs(ntp);
 				ntp->status = NOMASTER;
+			}
 		}
 		checkignorednets();
 		pickslavenet(0);


More information about the svn-src-all mailing list