From 374d9305869945a85951f198d3993f50d430eabf Mon Sep 17 00:00:00 2001 From: Imran Zaman Date: Thu, 5 Dec 2013 10:53:21 +0200 Subject: [PATCH] log as WARN in case of some error --- include/gum/common/gum-error.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/gum/common/gum-error.h b/include/gum/common/gum-error.h index 5d27a90..fa70ffd 100644 --- a/include/gum/common/gum-error.h +++ b/include/gum/common/gum-error.h @@ -95,7 +95,7 @@ typedef enum { { \ if (err) { \ *err = GUM_GET_ERROR_FOR_ID (code, err_str); \ - DBG ("Error %d:%s", code, err_str); \ + WARN ("Error %d:%s", code, err_str); \ } \ retvar = retval; \ } @@ -104,7 +104,7 @@ typedef enum { { \ if (err) { \ *err = GUM_GET_ERROR_FOR_ID (code, err_str); \ - DBG ("Error %d:%s", code, err_str); \ + WARN ("Error %d:%s", code, err_str); \ } \ return retval; \ } -- 2.7.4