$OpenBSD: patch-libpromises_evalfunction_c,v 1.1 2016/01/22 11:38:23 sthen Exp $
--- libpromises/evalfunction.c.orig	Mon Jan 18 22:52:24 2016
+++ libpromises/evalfunction.c	Mon Jan 18 22:52:49 2016
@@ -5520,7 +5520,7 @@ static FnCallResult FnCallStrftime(ARG_UNUSED EvalCont
     if (tm == NULL)
     {
         Log(LOG_LEVEL_WARNING,
-            "Function %s, the given time stamp '%ld' was invalid. (strftime: %s)",
+            "Function %s, the given time stamp '%lld' was invalid. (strftime: %s)",
             fp->name, when, GetErrorStr());
     }
     else if (PortablyFormatTime(buffer, sizeof(buffer),
