Displaying 1 result from an estimated 1 matches for "b014128".
Did you mean:
014128
2010 Aug 25
0
[patch] ipconfig fixes + run-init nit
...timeout.
I found that klibc always exit 0 which isn't that convenient .
Belows patch fixes the issue.
[ small coding style changes - maks]
Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index b014128..b392e6a 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -331,7 +331,7 @@ static int loop(void)
struct pollfd fds[NR_FDS];
struct state *s;
int pkt_fd;
- int nr = 0;
+ int nr = 0, rc = 0;
struct timeval now, prev;
time_t start;
@@ -396,6 +396,7 @@ static int lo...