diff --git a/src/libcrun/error.c b/src/libcrun/error.c index 3880571661..eee9cc7d42 100644 --- a/src/libcrun/error.c +++ b/src/libcrun/error.c @@ -236,7 +236,7 @@ libcrun_init_logging (crun_output_handler *new_output_handler, void **new_output case LOG_TYPE_JOURNALD: *new_output_handler = log_write_to_journald; - *new_output_handler_arg = NULL; + *new_output_handler_arg = (void *) id; break; } }