diff options
author | Neil Brown <neilb@suse.de> | 2006-05-29 02:06:32 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-05-29 02:06:32 +0000 |
commit | b56c3630901b7074f7f64989a39b73f6055f04e9 (patch) | |
tree | bbca33356908eb2a01d507716c6d39d102679113 /util.c | |
parent | b1ec2d6a74ca0a4d139563c2a2a08f7903355843 (diff) | |
download | mdadm-b56c3630901b7074f7f64989a39b73f6055f04e9.tar.gz mdadm-b56c3630901b7074f7f64989a39b73f6055f04e9.tar.xz mdadm-b56c3630901b7074f7f64989a39b73f6055f04e9.zip |
add CFLAGS to mdassemble build and fix a couple of non-returning functions
pass CFLAGS to mdassemble build, enabling -Wall -Werror showed some
issues also fixed by the patch.
From: Luca Berra <bluca@vodka.it>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -375,7 +375,7 @@ int add_dev_1(const char *name, const struct stat *stb, int flag) } int nftw(const char *path, int (*han)(const char *name, const struct stat *stb, int flag, struct FTW *s), int nopenfd, int flags) { - ftw(path, add_dev_1, nopenfd); + return ftw(path, add_dev_1, nopenfd); } #endif |