From 042fe15e637c4bfe569d9b1c3a7e30889895c109 Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Tue, 23 Feb 2010 13:50:25 +0000 Subject: storage/posix: Don't use FTW_CONTINUE FTW_CONTINUE is not defined on Mac, and POSIX only specifies that the walker function must return 0. So just return 0. Signed-off-by: Vikas Gorur Signed-off-by: Anand V. Avati BUG: 625 (Gluster Fails to build on OS X 10.6.2) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=625 --- xlators/storage/posix/src/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 489cb8d0a..0cfe0c4b2 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -1362,7 +1362,7 @@ janitor_walker (const char *fpath, const struct stat *sb, break; } - return FTW_CONTINUE; + return 0; /* 0 = FTW_CONTINUE */ } -- cgit