Displaying 2 results from an estimated 2 matches for "6ad5588".
Did you mean:
65588
2011 Jun 14
0
[PATCH] ipconfig: do_pkt_recv() refix ret initialisation
....net>
Signed-off-by: maximilian attems <max at stro.at>
---
Need to field test it yet, haven't checked it on usage.
usr/kinit/ipconfig/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index 4833bb7..6ad5588 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -343,7 +343,7 @@ struct netdev *ifaces;
*/
static int do_pkt_recv(int pkt_fd, time_t now)
{
- int ret;
+ int ret = 0;
struct state *s;
for (s = slist; s; s = s->next) {
--
1.7.5.3
2011 Jul 05
6
[PATCH 1/7] ln: Check snprintf() return values
Add some semi-useful error message, as printing the failing dir or file
seems not really advisable after that error.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/utils/ln.c | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/usr/utils/ln.c b/usr/utils/ln.c
index e826eb8..257b33f 100644
--- a/usr/utils/ln.c
+++ b/usr/utils/ln.c
@@ -9,7