Browse Source

dtfile: 0 is not NULL

alx 8 years ago
parent
commit
5c6ddfd0c1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cde/programs/dtfile/FileManip.c

+ 2 - 2
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\"");