Skip to content

Commit 7685d8a

Browse files
author
Colin Ian King
committed
stress-fanotify: remove const from metadata declaration
This fixes a clang warning Signed-off-by: Colin Ian King <[email protected]>
1 parent af59657 commit 7685d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stress-fanotify.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ int stress_fanotify(const args_t *args)
215215
continue;
216216

217217
if ((len = read(fan_fd, (void *)buffer, BUFFER_SIZE)) > 0) {
218-
const struct fanotify_event_metadata *metadata;
218+
struct fanotify_event_metadata *metadata;
219219
metadata = (struct fanotify_event_metadata *)buffer;
220220

221221
while (FAN_EVENT_OK(metadata, len)) {

0 commit comments

Comments
 (0)