summaryrefslogtreecommitdiff
path: root/src/fuzz
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-14 10:24:40 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-12-17 09:27:21 +0100
commit9a07157dd538704631e997dbc9a9f40cb4c1006b (patch)
tree84d0fe9f4f01ef9bd242f917e92095db7971eac3 /src/fuzz
parent1d791281212697dd20c49f1c28ea479189530dbb (diff)
downloadsystemd-9a07157dd538704631e997dbc9a9f40cb4c1006b.tar.gz
systemd-9a07157dd538704631e997dbc9a9f40cb4c1006b.tar.bz2
systemd-9a07157dd538704631e997dbc9a9f40cb4c1006b.zip
udev: use typedef for struct udev_rules
Diffstat (limited to 'src/fuzz')
-rw-r--r--src/fuzz/fuzz-udev-rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzz/fuzz-udev-rules.c b/src/fuzz/fuzz-udev-rules.c
index 42f0fa0b91..e894fa8d2d 100644
--- a/src/fuzz/fuzz-udev-rules.c
+++ b/src/fuzz/fuzz-udev-rules.c
@@ -74,7 +74,7 @@ static int cleanup_fake_filesystems(const char *runtime_dir) {
}
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
- _cleanup_(udev_rules_freep) struct udev_rules *rules = NULL;
+ _cleanup_(udev_rules_freep) UdevRules *rules = NULL;
_cleanup_(rm_rf_physical_and_freep) char *runtime_dir = NULL;
FILE *f = NULL;