Make add_dev for uclibc return something.
authorNeil Brown <neilb@suse.de>
Mon, 29 May 2006 04:02:15 +0000 (04:02 +0000)
committerNeil Brown <neilb@suse.de>
Mon, 29 May 2006 04:02:15 +0000 (04:02 +0000)
As it is now 'int', it needs to.

Signed-off-by: Neil Brown <neilb@suse.de>
util.c

diff --git a/util.c b/util.c
index 1a6106a..5b994d6 100644 (file)
--- a/util.c
+++ b/util.c
@@ -357,6 +357,7 @@ int devlist_ready = 0;
 #ifdef UCLIBC
 int add_dev(const char *name, const struct stat *stb, int flag, struct FTW *s)
 {
+       return 0;
 }
 char *map_dev(int major, int minor, int create)
 {