summary refs log tree commit diff
path: root/src/svwaitup.c
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2002-01-01 10:25:50 +0000
committerGerrit Pape <pape@smarden.org>2002-01-01 10:25:50 +0000
commit44106088217023982574f9ef1b489ca2ff917241 (patch)
tree75c05734de8f898f4721192690914a0f644675df /src/svwaitup.c
parent2e382b21f50f28e2d18ad1fd80d1596edba78aa9 (diff)
downloadrunit-44106088217023982574f9ef1b489ca2ff917241.tar.gz
runit-44106088217023982574f9ef1b489ca2ff917241.tar.xz
runit-44106088217023982574f9ef1b489ca2ff917241.zip
code cleanup.
TARGETS fix.
install.html: typo.
etc/freebsd stage files, getty service added.
Diffstat (limited to 'src/svwaitup.c')
-rw-r--r--src/svwaitup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/svwaitup.c b/src/svwaitup.c
index 5a70a77..ba04921 100644
--- a/src/svwaitup.c
+++ b/src/svwaitup.c
@@ -13,7 +13,7 @@
 #define USAGE " [ -v ] [ -s 2..600 ] service ..."
 
 const char *progname;
-unsigned long sec;
+unsigned long sec =2;
 unsigned int rc =0;
 const char * const *dir;
 
@@ -29,7 +29,6 @@ void warn (const char *s1, const char *s2, struct strerr *e) {
 
 int main (int argc, const char * const *argv) {
   int opt;
-  unsigned long sec =2;
   int verbose =0;
   char status[18];
   int fd;