dtwm: 0 is not NULL
authoralx <alx@fastestcode.org>
Sun, 17 Apr 2016 10:55:53 +0000 (12:55 +0200)
committerJon Trulson <jon@radscan.com>
Tue, 19 Apr 2016 01:16:48 +0000 (19:16 -0600)
cde/programs/dtwm/WmFunction.c

index 4ea031397750899b4f86962e2c06f71d187772c7..9e0bf516ab7f2e247afcf0695e29d3c1003256e3 100644 (file)
@@ -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