svn commit: r232841 - head/sbin/init
Ed Schouten
ed at FreeBSD.org
Sun Mar 11 22:30:07 UTC 2012
Author: ed
Date: Sun Mar 11 22:30:06 2012
New Revision: 232841
URL: http://svn.freebsd.org/changeset/base/232841
Log:
Fix whitespace.
MFC after: 1 week
Modified:
head/sbin/init/init.c
Modified: head/sbin/init/init.c
==============================================================================
--- head/sbin/init/init.c Sun Mar 11 22:17:01 2012 (r232840)
+++ head/sbin/init/init.c Sun Mar 11 22:30:06 2012 (r232841)
@@ -86,13 +86,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, ...);
@@ -149,15 +149,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;
@@ -657,7 +657,7 @@ single_user(void)
_exit(0);
password = crypt(clear, pp->pw_passwd);
bzero(clear, _PASSWORD_LEN);
- if (password == NULL ||
+ if (password == NULL ||
strcmp(password, pp->pw_passwd) == 0)
break;
warning("single-user login failed\n");
@@ -800,7 +800,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-head
mailing list