From b56c3630901b7074f7f64989a39b73f6055f04e9 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 29 May 2006 02:06:32 +0000 Subject: 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 Signed-off-by: Neil Brown --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index 279bfd7..1a6106a 100644 --- a/util.c +++ b/util.c @@ -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 -- cgit