diff options
Diffstat (limited to 'c_src/cmd_attr.c')
-rw-r--r-- | c_src/cmd_attr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c_src/cmd_attr.c b/c_src/cmd_attr.c index 1da41265..78df1be8 100644 --- a/c_src/cmd_attr.c +++ b/c_src/cmd_attr.c @@ -48,7 +48,7 @@ static void propagate_recurse(int dirfd) continue; } propagate_recurse(fd); - close(fd); + xclose(fd); } if (errno) @@ -80,7 +80,7 @@ static void do_setattr(char *path, struct bch_opt_strs opts) die("error opening %s: %m", path); propagate_recurse(dirfd); - close(dirfd); + xclose(dirfd); } static void setattr_usage(void) |