projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab8ebf
)
vol_id: fix logging glue
author
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 3 Oct 2008 12:56:54 +0000
(14:56 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 3 Oct 2008 12:56:54 +0000
(14:56 +0200)
extras/volume_id/vol_id.c
patch
|
blob
|
history
diff --git
a/extras/volume_id/vol_id.c
b/extras/volume_id/vol_id.c
index
19aa0bd
..
2b487d0
100644
(file)
--- a/
extras/volume_id/vol_id.c
+++ b/
extras/volume_id/vol_id.c
@@
-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;
}