summaryrefslogtreecommitdiffstats
path: root/src/udev/scsi_id/scsi_id.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/udev/scsi_id/scsi_id.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/udev/scsi_id/scsi_id.c b/src/udev/scsi_id/scsi_id.c
index 63d2756039..217fb2f8ab 100644
--- a/src/udev/scsi_id/scsi_id.c
+++ b/src/udev/scsi_id/scsi_id.c
@@ -569,9 +569,8 @@ out:
return retval;
}
-int main(int argc, char **argv)
-{
- _cleanup_udev_unref_ struct udev *udev;
+int main(int argc, char **argv) {
+ _cleanup_(udev_unrefp) struct udev *udev;
int retval = 0;
char maj_min_dev[MAX_PATH_LEN];
int newargc;