summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-03-11 11:35:24 +0000
committerdes <des@FreeBSD.org>2003-03-11 11:35:24 +0000
commit118ffeb10cdf4f0ff8f128b48ce5f9ebdc65fb37 (patch)
treeecdaed9527ddc78ee7cbe3b1b643a40b7f9dff37 /usr.bin
parent26502dd8d846c44d6f7122071cb06e6ecf2ae5c9 (diff)
downloadFreeBSD-src-118ffeb10cdf4f0ff8f128b48ce5f9ebdc65fb37.zip
FreeBSD-src-118ffeb10cdf4f0ff8f128b48ce5f9ebdc65fb37.tar.gz
Fix style bugs in the previous commit (which weren't in bde's patch)
Diffstat (limited to 'usr.bin')
-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 3b03bb6..16aa2e1 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) {
OpenPOWER on IntegriCloud