summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-10-07 13:30:27 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-10-07 13:30:27 +0200
commit373fa2b4b2caae977c41b2c10ea27e41308a05c3 (patch)
treefe57ee39daa2cef6a7f3832c0c45ed8b8d1ac531 /cmdline
parent00a06b8eb82cf930511fc003bd16d7034e5a0cb5 (diff)
Rename DropPrivs() to DropPrivileges()
Git-Dch: ignore
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-dump-solver.cc2
-rw-r--r--cmdline/apt-internal-solver.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-dump-solver.cc b/cmdline/apt-dump-solver.cc
index 424764b3c..f765234c5 100644
--- a/cmdline/apt-dump-solver.cc
+++ b/cmdline/apt-dump-solver.cc
@@ -41,7 +41,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");
diff --git a/cmdline/apt-internal-solver.cc b/cmdline/apt-internal-solver.cc
index 0f2ec6283..92a4429e5 100644
--- a/cmdline/apt-internal-solver.cc
+++ b/cmdline/apt-internal-solver.cc
@@ -77,7 +77,7 @@ int main(int argc,const char *argv[]) /*{{{*/
{0,0,0,0}};
// we really don't need anything
- DropPrivs();
+ DropPrivileges();
CommandLine CmdL(Args,_config);
if (pkgInitConfig(*_config) == false ||