diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-16 04:29:49 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-16 09:37:31 +0200 |
commit | 5668f3a7cfccca704ea8e8bdc84ca7e17a5f101e (patch) | |
tree | 85d1c9ec78c25bfd65e4b7db4b7d58e16953ad39 /src/udev/udev-builtin-uaccess.c | |
parent | udev: use SYNTHETIC_ERRNO() at one more place (diff) | |
download | systemd-5668f3a7cfccca704ea8e8bdc84ca7e17a5f101e.tar.xz systemd-5668f3a7cfccca704ea8e8bdc84ca7e17a5f101e.zip |
udev: make udev_builtin_run() take UdevEvent*
No functional change, preparation for later commits.
Diffstat (limited to 'src/udev/udev-builtin-uaccess.c')
-rw-r--r-- | src/udev/udev-builtin-uaccess.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-uaccess.c b/src/udev/udev-builtin-uaccess.c index 6e73d99375..36c993cbb0 100644 --- a/src/udev/udev-builtin-uaccess.c +++ b/src/udev/udev-builtin-uaccess.c @@ -16,7 +16,8 @@ #include "log.h" #include "udev-builtin.h" -static int builtin_uaccess(sd_device *dev, sd_netlink **rtnl, int argc, char *argv[], bool test) { +static int builtin_uaccess(UdevEvent *event, int argc, char *argv[], bool test) { + sd_device *dev = ASSERT_PTR(ASSERT_PTR(event)->dev); const char *path = NULL, *seat; bool changed_acl = false; uid_t uid; |