Fix warning message logic.
diff --git a/src/hash_questions.c b/src/hash_questions.c
index 917c18e..51d88c2 100644
--- a/src/hash_questions.c
+++ b/src/hash_questions.c
@@ -43,7 +43,7 @@
       static unsigned char dummy[HASH_SIZE];
       static int warned = 0;
 
-      if (warned)
+      if (!warned)
 	my_syslog(LOG_ERR, _("Failed to create SHA-256 hash object"));
       warned = 1;