summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-method.cc
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 /apt-pkg/acquire-method.cc
parent00a06b8eb82cf930511fc003bd16d7034e5a0cb5 (diff)
Rename DropPrivs() to DropPrivileges()
Git-Dch: ignore
Diffstat (limited to 'apt-pkg/acquire-method.cc')
-rw-r--r--apt-pkg/acquire-method.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-method.cc b/apt-pkg/acquire-method.cc
index 82f2fb3ce..d116994e6 100644
--- a/apt-pkg/acquire-method.cc
+++ b/apt-pkg/acquire-method.cc
@@ -124,7 +124,7 @@ void pkgAcqMethod::Fail(string Err,bool Transient)
/* */
void pkgAcqMethod::DropPrivsOrDie()
{
- if (!DropPrivs()) {
+ if (!DropPrivileges()) {
Fail(false);
exit(112); /* call the european emergency number */
}