$OpenBSD: patch-src_debug_c,v 1.6 2021/03/17 06:25:55 tb Exp $

time_t is long long on OpenBSD
https://github.com/redis/redis/pull/8662

Index: src/debug.c
--- src/debug.c.orig
+++ src/debug.c
@@ -473,7 +473,7 @@ NULL
     } else if (!strcasecmp(c->argv[1]->ptr,"segfault")) {
         *((char*)-1) = 'x';
     } else if (!strcasecmp(c->argv[1]->ptr,"panic")) {
-        serverPanic("DEBUG PANIC called at Unix time %ld", time(NULL));
+        serverPanic("DEBUG PANIC called at Unix time %lld", (long long)time(NULL));
     } else if (!strcasecmp(c->argv[1]->ptr,"restart") ||
                !strcasecmp(c->argv[1]->ptr,"crash-and-recover"))
     {
