From 3a1c66e21c4924851f2500a4e6909b211d7e9fa7 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/storage/posix/src/posix.c') diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 53949d56030..5eaebbe1cc5 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