summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-06-23 16:33:14 +0200
committerDaiki Ueno <ueno@gnu.org>2017-06-26 09:11:53 +0200
commitf992eb64e8cd2925a37ec09d0f5dbd00b5fbb234 (patch)
treeaa21d1826f5ea838442315e88c8f2611655a7c1a /common
parentaf2050a585ee3f242230f69de22b643f6ad2200c (diff)
Be silent by default and do not print messages on stderr
As p11-kit is a library there are cases where it is not desirable to log on stderr by default. See for example this report https://bugzilla.redhat.com/show_bug.cgi?id=1464490 where wget prints an error due to an unconfigured pkcs11 module. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'common')
-rw-r--r--common/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/message.c b/common/message.c
index ccc310e..34e0d5b 100644
--- a/common/message.c
+++ b/common/message.c
@@ -58,7 +58,7 @@
#include <stdio.h>
#include <string.h>
-static bool print_messages = true;
+static bool print_messages = false;
static char *
default_message_storage (void)