1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/log
Tony Asleson fe5b538c14 lvm2app: Reset buffer after retrieving error message
The error buffer will stack error messages which is fine.  However,
once you retrieve the error messages it doesn't make sense to keep
appending for each additional error message when running in the
context of a library call.

This patch clears and resets the buffer after the user retrieves
the error message.

Signed-off-by: Tony Asleson <tasleson@redhat.com>
2013-11-19 14:40:42 -06:00
..
log.c lvm2app: Reset buffer after retrieving error message 2013-11-19 14:40:42 -06:00
log.h logging: tidy log_sys_error when string empty 2013-08-12 18:40:41 +01:00
lvm-logging.h lvm2app: Reset buffer after retrieving error message 2013-11-19 14:40:42 -06:00