Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/linux-sunxi/sunxi-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Nortmann <bernhard.nortmann@web.de>2016-12-07 10:15:03 +0300
committerBernhard Nortmann <bernhard.nortmann@web.de>2016-12-07 10:15:03 +0300
commit610ca15715678470df88f2ed58a194c53c6e0a36 (patch)
treeb7cdca1966c17509aeedfa9652cd46168a8ec399 /script_bin.c
parentb5ba2d3b4945814c2e5a17cc4e158a55fe864cc5 (diff)
common.h: Rename errf() to pr_error(), add pr_fatal()
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
Diffstat (limited to 'script_bin.c')
-rw-r--r--script_bin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/script_bin.c b/script_bin.c
index 29c2735..9c63084 100644
--- a/script_bin.c
+++ b/script_bin.c
@@ -27,11 +27,11 @@
#include "script.h"
#include "script_bin.h"
-#define pr_info(...) errf("fexc-bin: " __VA_ARGS__)
-#define pr_err(...) errf("E: fexc-bin: " __VA_ARGS__)
+#define pr_info(...) pr_error("fexc-bin: " __VA_ARGS__)
+#define pr_err(...) pr_error("E: fexc-bin: " __VA_ARGS__)
#ifdef DEBUG
-#define pr_debug(...) errf("D: fexc-bin: " __VA_ARGS__)
+#define pr_debug(...) pr_error("D: fexc-bin: " __VA_ARGS__)
#else
#define pr_debug(...)
#endif