aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-03-11 11:35:24 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-03-11 11:35:24 +0000
commit7a179eb40f90762291b8c6cec7d015fdbbaea42f (patch)
treeecdaed9527ddc78ee7cbe3b1b643a40b7f9dff37
parent57c190a31fec784cff6ea2454b48c8d701583ffd (diff)
downloadsrc-7a179eb40f90762291b8c6cec7d015fdbbaea42f.tar.gz
src-7a179eb40f90762291b8c6cec7d015fdbbaea42f.zip
Fix style bugs in the previous commit (which weren't in bde's patch)
Notes
Notes: svn path=/head/; revision=112087
-rw-r--r--usr.bin/su/su.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index 3b03bb627984..16aa2e11ba16 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -130,7 +130,6 @@ main(int argc, char *argv[])
statusp, child_pid, child_pgrp, ret_pid, setmaclabel;
char *username, *cleanenv, *class, shellbuf[MAXPATHLEN];
const char *p, *user, *shell, *mytty, **nargv;
-
struct sigaction sa, sa_int, sa_quit;
shell = class = cleanenv = NULL;
@@ -329,7 +328,6 @@ main(int argc, char *argv[])
sigaction(SIGQUIT, &sa, &sa_quit);
sa.sa_handler = SIG_DFL;
sigaction(SIGTSTP, &sa, NULL);
-
statusp = 1;
child_pid = fork();
switch (child_pid) {