From 78e9bb837c258ac0ec7712b3d612cc2f407e731e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:42 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- src/udev/cdrom_id/cdrom_id.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/udev/cdrom_id') diff --git a/src/udev/cdrom_id/cdrom_id.c b/src/udev/cdrom_id/cdrom_id.c index 9285dd8..195fadc 100644 --- a/src/udev/cdrom_id/cdrom_id.c +++ b/src/udev/cdrom_id/cdrom_id.c @@ -959,10 +959,8 @@ static int run(int argc, char *argv[]) { _cleanup_(context_clear) Context c = CONTEXT_EMPTY; int r; - log_set_target(LOG_TARGET_AUTO); - udev_parse_config(); - log_parse_environment(); - log_open(); + (void) udev_parse_config(); + log_setup(); r = parse_argv(argc, argv); if (r <= 0) -- cgit v1.2.3