File strongswan-4.3.4-load_secrets-dbgmsg-fix.diff of Package strongswan

From: Marius Tomaschewski <mt@suse.de>
Date: Fri, 4 Sep 2009 11:36:36 +0200
Subject: [PATCH] fixed open failure debug message in load_secrets


diff --git a/src/charon/plugins/stroke/stroke_cred.c b/src/charon/plugins/stroke/stroke_cred.c
index 68df7f0..80e3954 100644
--- a/src/charon/plugins/stroke/stroke_cred.c
+++ b/src/charon/plugins/stroke/stroke_cred.c
@@ -709,7 +709,7 @@ static void load_secrets(private_stroke_cred_t *this, char *file, int level)
 	fd = fopen(file, "r");
 	if (fd == NULL)
 	{
-		DBG1(DBG_CFG, "opening secrets file '%s' failed");
+		DBG1(DBG_CFG, "opening secrets file '%s' failed", file);
 		return;
 	}
 
-- 
1.6.0.2

openSUSE Build Service is sponsored by