Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/init Unbreak compilation with -DLETS_GET_SMALL as in PR...



details:   https://anonhg.NetBSD.org/src/rev/70c6dfb616bf
branches:  trunk
changeset: 483864:70c6dfb616bf
user:      soren <soren%NetBSD.org@localhost>
date:      Sun Mar 19 23:21:46 2000 +0000

description:
Unbreak compilation with -DLETS_GET_SMALL as in PR bin/9639 by Patrick Welche.

diffstat:

 sbin/init/init.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 117e3690fb3f -r 70c6dfb616bf sbin/init/init.c
--- a/sbin/init/init.c  Sun Mar 19 23:07:43 2000 +0000
+++ b/sbin/init/init.c  Sun Mar 19 23:21:46 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: init.c,v 1.36 2000/01/21 17:08:34 mycroft Exp $        */
+/*     $NetBSD: init.c,v 1.37 2000/03/19 23:21:46 soren Exp $  */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -46,7 +46,7 @@
 #if 0
 static char sccsid[] = "@(#)init.c     8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: init.c,v 1.36 2000/01/21 17:08:34 mycroft Exp $");
+__RCSID("$NetBSD: init.c,v 1.37 2000/03/19 23:21:46 soren Exp $");
 #endif
 #endif /* not lint */
 
@@ -189,11 +189,11 @@
        int argc;
        char **argv;
 {
-       int c;
        struct sigaction sa;
        sigset_t mask;
+#ifndef LETS_GET_SMALL
+       int c;
 
-#ifndef LETS_GET_SMALL
        /* Dispose of random users. */
        if (getuid() != 0) {
                errno = EPERM;



Home | Main Index | Thread Index | Old Index