$OpenBSD: patch-xfce4-session_xfsm-shutdown-helper-sudo_c,v 1.1.1.1 2005/05/12 04:38:38 jolan Exp $
--- xfce4-session/xfsm-shutdown-helper-sudo.c.orig	Mon Nov  1 15:00:12 2004
+++ xfce4-session/xfsm-shutdown-helper-sudo.c	Wed May 11 19:55:17 2005
@@ -129,7 +129,7 @@ xfsm_shutdown_helper_spawn (void)
 
       /* execute sudo with the helper */
       execl (helper->sudo, "sudo", "-H", "-S", "-p",
-             "XFSM_SUDO_PASS ", "--", XFSM_SHUTDOWN_HELPER, NULL);
+             "XFSM_SUDO_PASS ", "--", XFSM_SHUTDOWN_HELPER,(void *)NULL);
       _exit (127);
     }
 
