r1257 - tools/pkgutils/trunk
Author: tilman Date: 2006-04-14 12:06:10 +0200 (Fri, 14 Apr 2006) New Revision: 1257 Modified: tools/pkgutils/trunk/ChangeLog tools/pkgutils/trunk/pkgutil.cc Log: use the proper sentinel in the execl() call Modified: tools/pkgutils/trunk/ChangeLog =================================================================== --- tools/pkgutils/trunk/ChangeLog 2006-04-14 09:34:20 UTC (rev 1256) +++ tools/pkgutils/trunk/ChangeLog 2006-04-14 10:06:10 UTC (rev 1257) @@ -1,3 +1,4 @@ 2006-04-14 Tilman Sauerbeck (tilman at crux nu) * ChangeLog, NEWS: Moved old ChangeLog to NEWS * pkgmk.in: Write warnings and errors to stderr instead of stdout + * pkgutil.cc: Use the proper sentinel in the execl() call Modified: tools/pkgutils/trunk/pkgutil.cc =================================================================== --- tools/pkgutils/trunk/pkgutil.cc 2006-04-14 09:34:20 UTC (rev 1256) +++ tools/pkgutils/trunk/pkgutil.cc 2006-04-14 10:06:10 UTC (rev 1257) @@ -435,7 +435,7 @@ 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);
participants (1)
-
crux@crux.nu