From: alx Date: Sat, 11 Jul 2015 20:54:31 +0000 (+0200) Subject: dtfile: 0 is not NULL X-Git-Tag: 2.2.4~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5c6ddfd0c1f9d3dc812b949e2db72de76415cca8;p=oweals%2Fcde.git dtfile: 0 is not NULL --- diff --git a/cde/programs/dtfile/FileManip.c b/cde/programs/dtfile/FileManip.c index 5b4d6c55..788efc52 100644 --- a/cde/programs/dtfile/FileManip.c +++ b/cde/programs/dtfile/FileManip.c @@ -545,10 +545,10 @@ MoveDir( /* pass in geometry, and other command lines params when available */ if(type == TRASH_DIRECTORY) rc = execlp(DTCOPY, "dtfile_copy", "-move", "-confirmReplace", - "-confirmErrors", "-popDown","-checkPerms", source, target, 0); + "-confirmErrors", "-popDown","-checkPerms", source, target, NULL); else rc = execlp(DTCOPY, "dtfile_copy", "-move", "-confirmReplace", - "-confirmErrors", "-popDown", source, target, 0); + "-confirmErrors", "-popDown", source, target, NULL); /* call errorhandler */ perror ("Could not exec child process \"dtfile_copy\"");