diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-12-06 00:20:23 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-12-06 00:20:23 +0000 |
commit | 20703d466ee2e12d26d2ad0c75e28b8465b693ed (patch) | |
tree | e28f9d56947f6f8b13089038de8337146dc86a30 /sbin | |
parent | 66dc21626ef507e40bf0cb778ec7ec338f68eccb (diff) |
Do not define the variable pid twice to avoid a compiler warning.
OK millert@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/init/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/init/init.c b/sbin/init/init.c index 916a029eced..62b9f6ce18a 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init.c,v 1.50 2014/04/22 20:40:37 tedu Exp $ */ +/* $OpenBSD: init.c,v 1.51 2014/12/06 00:20:22 bluhm Exp $ */ /* $NetBSD: init.c,v 1.22 1996/05/15 23:29:33 jtc Exp $ */ /*- @@ -1340,7 +1340,6 @@ nice_death(void) logwtmp("~", "shutdown", ""); if (access(_PATH_RUNCOM, R_OK) != -1) { - pid_t pid; struct sigaction sa; switch ((pid = fork())) { |