mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
vol_id: fix logging glue
This commit is contained in:
parent
3ab8ebf572
commit
d4f687c013
@ -57,8 +57,10 @@ static void vid_log(int priority, const char *file, int line, const char *format
|
||||
{
|
||||
va_list args;
|
||||
|
||||
if (priority > udev_get_log_priority(udev_ctx))
|
||||
return;
|
||||
va_start(args, format);
|
||||
udev_log(udev_ctx, priority, file, line, NULL, format, args);
|
||||
log_fn(udev_ctx, priority, file, line, NULL, format, args);
|
||||
va_end(args);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user