diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-09-15 23:37:39 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-16 17:17:13 +0200 |
commit | b45ca5d56e272c05ccb576c2db8d88ed5211eb3e (patch) | |
tree | ca7da49059ef3c80c167e8cb5baae4357d4c1f6e /Kernel/API/Syscall.h | |
parent | dba5710efa028cc9f7abde0c5fdf06a843ff41a1 (diff) | |
download | serenity-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.h | 2 |
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; }; |