summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-09-15 23:37:39 -0700
committerAndreas Kling <kling@serenityos.org>2021-09-16 17:17:13 +0200
commitb45ca5d56e272c05ccb576c2db8d88ed5211eb3e (patch)
treeca7da49059ef3c80c167e8cb5baae4357d4c1f6e /Kernel/API/Syscall.h
parentdba5710efa028cc9f7abde0c5fdf06a843ff41a1 (diff)
downloadserenity-b45ca5d56e272c05ccb576c2db8d88ed5211eb3e.zip
Kernel+LibC: Pack SC_inode_watcher_add_watch_params struct better
Flagged by pvs-studio, ordering the members from largest to smallest allows us to save a few bytes in the size of the struct.
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index 955ce205f8..1a2f4e82b1 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -474,8 +474,8 @@ struct SC_set_coredump_metadata_params {
};
struct SC_inode_watcher_add_watch_params {
- int fd;
StringArgument user_path;
+ int fd;
u32 event_mask;
};