summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--udev.c1
-rw-r--r--udev_start.c (renamed from udevstart.c)0
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 09b74fcde7..efbb74355a 100644
--- a/Makefile
+++ b/Makefile
@@ -283,8 +283,8 @@ $(SENDER).o: $(GEN_HEADERS) $(HOST_PROGS)
$(STARTER).o: $(GEN_HEADERS) $(HOST_PROGS)
$(WAIT).o: $(GEN_HEADERS) $(HOST_PROGS)
-$(ROOT): $(LIBC) $(ROOT).o $(STARTER).o $(OBJS) $(HEADERS) $(GEN_MANPAGES)
- $(QUIET) $(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o udevstart.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
+$(ROOT): $(LIBC) $(ROOT).o udev_start.o $(OBJS) $(HEADERS) $(GEN_MANPAGES)
+ $(QUIET) $(LD) $(LDFLAGS) -o $@ $(CRT0) udev.o udev_start.o $(OBJS) $(LIB_OBJS) $(ARCH_LIB_OBJS)
$(QUIET) $(STRIPCMD) $@
$(TESTER): $(LIBC) $(TESTER).o $(OBJS) $(HEADERS)
diff --git a/udev.c b/udev.c
index a41f222778..78fe82cfbb 100644
--- a/udev.c
+++ b/udev.c
@@ -143,6 +143,7 @@ int main(int argc, char *argv[], char *envp[])
switch(act_type) {
case UDEVSTART:
dbg("udevstart");
+ udev_log = 0;
namedev_init();
retval = udev_start();
break;
diff --git a/udevstart.c b/udev_start.c
index c1d877fb37..c1d877fb37 100644
--- a/udevstart.c
+++ b/udev_start.c