summaryrefslogtreecommitdiffstats
path: root/sbin/init
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-03-11 22:30:06 +0000
committered <ed@FreeBSD.org>2012-03-11 22:30:06 +0000
commitd85719f11c1a0dc73d68f8ac0beef2bb600eadfe (patch)
treeddfd068ff5cf6d1986660b16714637b0032507e7 /sbin/init
parent1733bcf3fe9851eceb150d63fb456e48a8d6ae57 (diff)
downloadFreeBSD-src-d85719f11c1a0dc73d68f8ac0beef2bb600eadfe.zip
FreeBSD-src-d85719f11c1a0dc73d68f8ac0beef2bb600eadfe.tar.gz
Fix whitespace.
MFC after: 1 week
Diffstat (limited to 'sbin/init')
-rw-r--r--sbin/init/init.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c
index 3167503..8ee7a8d 100644
--- a/sbin/init/init.c
+++ b/sbin/init/init.c
@@ -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;
OpenPOWER on IntegriCloud