]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journalctl.c
tree-wide: drop redundant _cleanup_ macros (#8810)
[thirdparty/systemd.git] / src / journal / journalctl.c
index 907f32bf8da6f6be35392fa4a1cc82f1d62d5cca..aa59489cff6673e970dfde1d3a2ce41fca6982a7 100644 (file)
@@ -182,8 +182,8 @@ typedef struct BootId {
 
 static int add_matches_for_device(sd_journal *j, const char *devpath) {
         int r;
-        _cleanup_udev_unref_ struct udev *udev = NULL;
-        _cleanup_udev_device_unref_ struct udev_device *device = NULL;
+        _cleanup_(udev_unrefp) struct udev *udev = NULL;
+        _cleanup_(udev_device_unrefp) struct udev_device *device = NULL;
         struct udev_device *d = NULL;
         struct stat st;