From 5c6ddfd0c1f9d3dc812b949e2db72de76415cca8 Mon Sep 17 00:00:00 2001 From: alx Date: Sat, 11 Jul 2015 22:54:31 +0200 Subject: [PATCH] dtfile: 0 is not NULL --- cde/programs/dtfile/FileManip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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\""); -- 2.25.1