libfprint/SOURCES/0022-fpi-log-Set-fp_error-a...

31 lines
828 B
Diff

From 15d218a112728c9ded518f55a985223861f79cda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
Date: Fri, 22 Nov 2019 17:56:24 +0100
Subject: [PATCH 022/181] fpi-log: Set fp_error as equal to g_critical
---
libfprint/fpi-log.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libfprint/fpi-log.h b/libfprint/fpi-log.h
index 1c3d5ad..8f2f6a1 100644
--- a/libfprint/fpi-log.h
+++ b/libfprint/fpi-log.h
@@ -68,11 +68,11 @@
/**
* fp_err:
*
- * Same as g_warning(). In the future, this might be changed to a
+ * Same as g_critical(). In the future, this might be changed to a
* g_assert() instead, so bear this in mind when adding those calls
* to your driver.
*/
-#define fp_err g_warning
+#define fp_err g_critical
/**
* BUG_ON:
--
2.24.1