patch-libpromises_evalfunction_c 613 B

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