[strongSwan-dev] [PATCH] swanctl: Add missing unit in install-time log

Romain Francoise romain at orebokech.com
Sat May 2 21:10:56 CEST 2015


---
 src/swanctl/commands/list_sas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/swanctl/commands/list_sas.c b/src/swanctl/commands/list_sas.c
index 81e1b7c..b44d049 100644
--- a/src/swanctl/commands/list_sas.c
+++ b/src/swanctl/commands/list_sas.c
@@ -126,7 +126,7 @@ CALLBACK(child_sas, int,
 		}
 		printf("\n");
 
-		printf("    installed %s ago", child->get(child, "install-time"));
+		printf("    installed %ss ago", child->get(child, "install-time"));
 		if (child->get(child, "rekey-time"))
 		{
 			printf(", rekeying in %ss", child->get(child, "rekey-time"));
-- 
2.1.4



More information about the Dev mailing list