summaryrefslogtreecommitdiff
path: root/lib/extent-map.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-18 12:27:35 -0400
committerLuke Shumaker <lukeshu@beefcake.parabola.nu>2018-05-18 12:27:35 -0400
commit39eff20bd938bae630270a3f06b17f787663826c (patch)
tree8698a876083d5d064bcd73ff056c5605eec77068 /lib/extent-map.h
parent4b0fcc56f95c934e110f936076d158758a8354b4 (diff)
use return codes from fiemap
Diffstat (limited to 'lib/extent-map.h')
-rw-r--r--lib/extent-map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extent-map.h b/lib/extent-map.h
index 4f873a0..8b5e585 100644
--- a/lib/extent-map.h
+++ b/lib/extent-map.h
@@ -1,4 +1,4 @@
#include <stdint.h> /* for uint32_t */
#include <linux/fiemap.h> /* for struct fiemap_extent */
-void fiemap(int fd, uint32_t flags, int (*handle_extent)(struct fiemap_extent));
+int fiemap(int fd, uint32_t flags, int (*handle_extent)(struct fiemap_extent));