]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
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 1a6106a6428674dccb4cfb4c9fd16a58fd0b22df..5b994d6ae726b64d4a46046a6c8bac8c8e070f1d 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)
 {