summaryrefslogtreecommitdiff
path: root/apt-inst/deb/dpkgdb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-inst/deb/dpkgdb.cc')
-rw-r--r--apt-inst/deb/dpkgdb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-inst/deb/dpkgdb.cc b/apt-inst/deb/dpkgdb.cc
index de781f44c..7b7e90acd 100644
--- a/apt-inst/deb/dpkgdb.cc
+++ b/apt-inst/deb/dpkgdb.cc
@@ -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());