summaryrefslogtreecommitdiff
path: root/src
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 /src
parent4b0fcc56f95c934e110f936076d158758a8354b4 (diff)
use return codes from fiemap
Diffstat (limited to 'src')
-rw-r--r--src/cow-extent-map.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cow-extent-map.c b/src/cow-extent-map.c
index 1d9ae2c..1a791a0 100644
--- a/src/cow-extent-map.c
+++ b/src/cow-extent-map.c
@@ -170,6 +170,5 @@ int main(int argc, char *argv[]) {
if (fd < 0)
error(EXIT_FAILURE, errno, "%s", filename);
- fiemap(fd, flags, print_extent);
- return EXIT_SUCCESS;;
+ return fiemap(fd, flags, print_extent);
}