aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/generated.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/csource/generated.go')
-rw-r--r--pkg/csource/generated.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/csource/generated.go b/pkg/csource/generated.go
index d51f321ea..778a9f4d3 100644
--- a/pkg/csource/generated.go
+++ b/pkg/csource/generated.go
@@ -5610,8 +5610,9 @@ retry:
int fd = open(filename, O_RDONLY);
if (fd != -1) {
long flags = 0;
- if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0)
+ if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) {
debug("reset FS_XFLAG_IMMUTABLE\n");
+ }
close(fd);
continue;
}
@@ -5637,8 +5638,9 @@ retry:
int fd = open(dir, O_RDONLY);
if (fd != -1) {
long flags = 0;
- if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0)
+ if (ioctl(fd, FS_IOC_SETFLAGS, &flags) == 0) {
debug("reset FS_XFLAG_IMMUTABLE\n");
+ }
close(fd);
continue;
}