aboutsummaryrefslogtreecommitdiffstats
path: root/man7
diff options
context:
space:
mode:
Diffstat (limited to 'man7')
-rw-r--r--man7/fanotify.73
1 files changed, 1 insertions, 2 deletions
diff --git a/man7/fanotify.7 b/man7/fanotify.7
index da925e5a46..c18ab68ed5 100644
--- a/man7/fanotify.7
+++ b/man7/fanotify.7
@@ -860,8 +860,7 @@ handle_events(int fd)
response.fd = metadata\->fd;
response.response = FAN_ALLOW;
- write(fd, &response,
- sizeof(struct fanotify_response));
+ write(fd, &response, sizeof(response));
}
/* Handle closing of writable file event */