1
0
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:
Kay Sievers 2008-10-03 14:56:54 +02:00
parent 3ab8ebf572
commit d4f687c013

View File

@ -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;
}