From 720fd9365a8fc3d38f903928ea74c56a57700991 Mon Sep 17 00:00:00 2001 From: alx Date: Sun, 17 Apr 2016 12:55:53 +0200 Subject: [PATCH] dtwm: 0 is not NULL --- cde/programs/dtwm/WmFunction.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cde/programs/dtwm/WmFunction.c b/cde/programs/dtwm/WmFunction.c index 4ea03139..9e0bf516 100644 --- a/cde/programs/dtwm/WmFunction.c +++ b/cde/programs/dtwm/WmFunction.c @@ -1089,12 +1089,12 @@ Boolean F_Exec (String args, ClientData *pCD, XEvent *event) directory, then we must call execlp and not execl */ shellname = shell; - execlp (shell, shellname, "-c", args, 0); + execlp (shell, shellname, "-c", args, NULL); } else { shellname++; - execl (shell, shellname, "-c", args, 0); + execl (shell, shellname, "-c", args, NULL); } } @@ -1103,9 +1103,9 @@ Boolean F_Exec (String args, ClientData *pCD, XEvent *event) * Try /bin/sh . */ #ifdef SVR4 - execl ("/usr/bin/sh", "sh", "-c", args, 0); + execl ("/usr/bin/sh", "sh", "-c", args, NULL); #else - execl ("/bin/sh", "sh", "-c", args, 0); + execl ("/bin/sh", "sh", "-c", args, NULL); #endif -- 2.25.1