From b45ca5d56e272c05ccb576c2db8d88ed5211eb3e Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Wed, 15 Sep 2021 23:37:39 -0700 Subject: 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. --- Kernel/API/Syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/API/Syscall.h') 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; }; -- cgit v1.2.3