CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
added an UPGRADE rule for crontabs
[pkgutils-cross.git] / pkgutil.cc
index 571dd6eb71bb98bc59b420c65a3803657a534003..9b41c5c12323762223cc67a117c55354300c35c4 100644 (file)
@@ -435,7 +435,7 @@ void pkgutil::ldconfig() const
                        throw runtime_error_with_errno("fork() failed");
 
                if (pid == 0) {
-                       execl(LDCONFIG, LDCONFIG, "-r", root.c_str(), 0);
+                       execl(LDCONFIG, LDCONFIG, "-r", root.c_str(), (char *) 0);
                        const char* msg = strerror(errno);
                        cerr << utilname << ": could not execute " << LDCONFIG << ": " << msg << endl;
                        exit(EXIT_FAILURE);