1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-30 17:18:21 +03:00
lvm2/libdm/misc
Zdenek Kabelac ee13f265f0 libdm: use dm_log_with_errno always
Instead of compiling 2 log call for 2 different logging functions,
and runtime decide which version to use - use only 'newer' function
and when user sets his own OLD dm_log logging translate it runtime
for old arg list set.

The positive part is - we get shorter generated library,
on the negative part this translation means, we always have evaluate
all args and print the message into local on stack buffer, before
we can pass this buffer to the users' logging function with proper
expected parameters (and such function may later decide to discard
logging based on message level so whole printing was unnecessary).
2016-11-03 17:49:07 +01:00
..
dm-ioctl.h libdm: Add DM_INTERNAL_SUSPEND_FLAG. 2015-04-23 18:39:04 +01:00
dm-log-userspace.h cleanup: self compilable headers 2013-12-12 13:28:19 +01:00
dm-logging.h libdm: use dm_log_with_errno always 2016-11-03 17:49:07 +01:00
dmlib.h doc: change fsf address 2016-01-21 12:11:37 +01:00
kdev_t.h doc: change fsf address 2016-01-21 12:11:37 +01:00