[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/lib/log log.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall sourceware org	2010-03-23 18:18:50

Modified files:
	lib/log        : log.c 

Log message:
	Also honour abort_on_internal_errors when log_fn is set.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/log/log.c.diff?cvsroot=lvm2&r1=1.57&r2=1.58

--- LVM2/lib/log/log.c	2010/01/11 20:41:39	1.57
+++ LVM2/lib/log/log.c	2010/03/23 18:18:49	1.58
@@ -231,7 +231,8 @@
 
 	if (_lvm2_log_fn) {
 		_lvm2_log_fn(level, file, line, 0, message);
-
+		if (fatal_internal_error)
+			abort();
 		return;
 	}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]