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
This commit is contained in:
parent
24309c6e13
commit
042fe15e63
@ -1362,7 +1362,7 @@ janitor_walker (const char *fpath, const struct stat *sb,
|
||||
break;
|
||||
}
|
||||
|
||||
return FTW_CONTINUE;
|
||||
return 0; /* 0 = FTW_CONTINUE */
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user