]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-dump-solver.cc
Merge branch 'debian/experimental' into feature/srv-records
[apt.git] / cmdline / apt-dump-solver.cc
index 424764b3c35c5461e9ec3f8bf963f3a91480b0b6..4729eac55a649c8ce6b5fec4c3322860581e6f20 100644 (file)
@@ -21,9 +21,8 @@
 // ---------------------------------------------------------------------
 /* */
 static bool ShowHelp() {
-
+       ioprintf(std::cout, "%s %s (%s)\n", PACKAGE, PACKAGE_VERSION, COMMON_ARCH);
        std::cout <<
-               PACKAGE " " PACKAGE_VERSION " for " COMMON_ARCH " compiled on " __DATE__ " " __TIME__ << std::endl <<
                "Usage: apt-dump-resolver\n"
                "\n"
                "apt-dump-resolver is a dummy solver who just dumps its input to the\n"
@@ -41,7 +40,7 @@ int main(int argc,const char *argv[])                                 /*{{{*/
                return 0;
        }
         // we really don't need anything
-        DropPrivs();
+        DropPrivileges();
 
        FILE* input = fdopen(STDIN_FILENO, "r");
        FILE* output = fopen("/tmp/dump.edsp", "w");