$OpenBSD: patch-src_blackbox_cc,v 1.1 2002/12/29 09:34:48 pvalchev Exp $ --- src/blackbox.cc.orig Sun Dec 29 01:17:13 2002 +++ src/blackbox.cc Sun Dec 29 01:17:22 2002 @@ -1129,7 +1129,7 @@ void Blackbox::restart(const char *prog) if (prog) { putenv(const_cast(screenList.front()->displayString().c_str())); - execlp(prog, prog, NULL); + execlp(prog, prog, (void *)NULL); perror(prog); }