]> git.saurik.com Git - apt.git/blobdiff - apt-inst/deb/dpkgdb.cc
Sync with Andre Luis Lopes and Otavio branches
[apt.git] / apt-inst / deb / dpkgdb.cc
index 428d91303977c28685f11c8e8d3005372b38f6f9..c6a0e80e6c3ffc416eab573b3aa151a997b26ec9 100644 (file)
@@ -67,7 +67,7 @@ static bool EraseDir(const char *Dir)
    if (Pid == 0)
    {
       execlp(_config->Find("Dir::Bin::rm","/bin/rm").c_str(),
-            "rm","-rf","--",Dir,0);
+            "rm","-rf","--",Dir,(char *)NULL);
       _exit(100);
    }
    return ExecWait(Pid,_config->Find("dir::bin::rm","/bin/rm").c_str());