svn commit: r233944 - stable/9/sbin/init
Ed Schouten
ed at FreeBSD.org
Fri Apr 6 11:09:50 UTC 2012
Author: ed
Date: Fri Apr 6 11:09:49 2012
New Revision: 233944
URL: http://svn.freebsd.org/changeset/base/233944
Log:
MFC r232841:
Fix whitespace.
Modified:
stable/9/sbin/init/init.c
Directory Properties:
stable/9/sbin/init/ (props changed)
Modified: stable/9/sbin/init/init.c
==============================================================================
--- stable/9/sbin/init/init.c Fri Apr 6 11:07:44 2012 (r233943)
+++ stable/9/sbin/init/init.c Fri Apr 6 11:09:49 2012 (r233944)
@@ -87,13 +87,13 @@ static const char rcsid[] =
*/
#define GETTY_SPACING 5 /* N secs minimum getty spacing */
#define GETTY_SLEEP 30 /* sleep N secs after spacing problem */
-#define GETTY_NSPACE 3 /* max. spacing count to bring reaction */
+#define GETTY_NSPACE 3 /* max. spacing count to bring reaction */
#define WINDOW_WAIT 3 /* wait N secs after starting window */
#define STALL_TIMEOUT 30 /* wait N secs after warning */
#define DEATH_WATCH 10 /* wait N secs for procs to die */
#define DEATH_SCRIPT 120 /* wait for 2min for /etc/rc.shutdown */
#define RESOURCE_RC "daemon"
-#define RESOURCE_WINDOW "default"
+#define RESOURCE_WINDOW "default"
#define RESOURCE_GETTY "default"
static void handle(sig_t, ...);
@@ -150,15 +150,15 @@ typedef struct init_session {
int se_flags; /* status of session */
#define SE_SHUTDOWN 0x1 /* session won't be restarted */
#define SE_PRESENT 0x2 /* session is in /etc/ttys */
- int se_nspace; /* spacing count */
+ int se_nspace; /* spacing count */
char *se_device; /* filename of port */
char *se_getty; /* what to run on that port */
- char *se_getty_argv_space; /* pre-parsed argument array space */
+ char *se_getty_argv_space; /* pre-parsed argument array space */
char **se_getty_argv; /* pre-parsed argument array */
char *se_window; /* window system (started only once) */
- char *se_window_argv_space; /* pre-parsed argument array space */
+ char *se_window_argv_space; /* pre-parsed argument array space */
char **se_window_argv; /* pre-parsed argument array */
- char *se_type; /* default terminal type */
+ char *se_type; /* default terminal type */
struct init_session *se_prev;
struct init_session *se_next;
} session_t;
@@ -821,7 +821,7 @@ run_script(const char *script)
setctty(_PATH_CONSOLE);
- char _sh[] = "sh";
+ char _sh[] = "sh";
char _autoboot[] = "autoboot";
argv[0] = _sh;
More information about the svn-src-stable-9
mailing list