diff options
author | Vikas Gorur <vikas@gluster.com> | 2010-02-23 13:50:25 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-02-23 21:37:11 -0800 |
commit | 042fe15e637c4bfe569d9b1c3a7e30889895c109 (patch) | |
tree | 694d22b7bc51eec0135dd3d7f70f3f12161461f9 /xlators/storage/posix/src/posix.c | |
parent | 24309c6e131a5bf84b05ae26d10838b94ffd28c4 (diff) |
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 <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
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
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-rw-r--r-- | xlators/storage/posix/src/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ } |