commit | 4b20c6814d4742e27a68f8a740a955283869fbcd | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed May 22 12:17:43 2013 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed May 22 12:17:43 2013 +0200 |
tree | 0d5e8d3b373d99978ef8febcb3784c2ec6bc54c7 | |
parent | 4728b3c82f07612d64b79a67adc31dd9ca3c79fc [diff] |
helpers: fixup bad fadvise check Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/helpers.c b/helpers.c index dce967d..4342b2d 100644 --- a/helpers.c +++ b/helpers.c
@@ -32,7 +32,7 @@ } #endif -#ifndef CONFIG_FADVISE +#ifndef CONFIG_POSIX_FADVISE int posix_fadvise(int fd, off_t offset, off_t len, int advice) { return 0;