summaryrefslogtreecommitdiff
path: root/c_src/cmd_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/cmd_dump.c')
-rw-r--r--c_src/cmd_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c_src/cmd_dump.c b/c_src/cmd_dump.c
index c9e417f2..9b182325 100644
--- a/c_src/cmd_dump.c
+++ b/c_src/cmd_dump.c
@@ -172,7 +172,7 @@ int cmd_dump(int argc, char *argv[])
free(path);
dump_one_device(c, ca, fd, entire_journal);
- close(fd);
+ xclose(fd);
}
up_read(&c->state_lock);