Revision
23672
Author
dsorresso@apple.com
Date
2008-08-18 21:58:06 -0700 (Mon, 18 Aug 2008)

Log Message

Minor adjustments.

Modified Paths

Diff

Modified: branches/PR-5039559/launchd/src/launchd.c (23671 => 23672)


--- branches/PR-5039559/launchd/src/launchd.c	2008-08-19 01:41:36 UTC (rev 23671)
+++ branches/PR-5039559/launchd/src/launchd.c	2008-08-19 04:58:06 UTC (rev 23672)
@@ -102,11 +102,11 @@
 static bool re_exec_in_single_user_mode;
 static void *crash_addr;
 static pid_t crash_pid;
+static unsigned int g_sync_frequency = 30;
 
 bool shutdown_in_progress;
 bool fake_shutdown_in_progress;
 bool network_up;
-unsigned int g_sync_frequency = 0;
 
 int
 main(int argc, char *const *argv)
@@ -172,7 +172,6 @@
 	if( pid1_magic ) {
 		/* Start the update thread -- rdar://problem/5039559&6153301 */
 		pthread_t t = NULL;
-		g_sync_frequency = 30;
 		int err = pthread_create(&t, NULL, update_thread, NULL);
 		launchd_assumes(err == 0);
 	}