summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:34 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:34 +0000
commit2d11135a1b8e8ee0a21c7932d7ce08a89b354784 (patch)
tree7516c5025386801ae15773d4bed77a01bf1d69d3 /apt-pkg/deb
parent25dbb396187255367674f264732db681538c87a2 (diff)
Support for memory-only caching
Author: jgg Date: 1999-04-18 06:36:36 GMT Support for memory-only caching
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/dpkginit.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/deb/dpkginit.cc b/apt-pkg/deb/dpkginit.cc
index 095156d0d..518d18f59 100644
--- a/apt-pkg/deb/dpkginit.cc
+++ b/apt-pkg/deb/dpkginit.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: dpkginit.cc,v 1.1 1998/11/23 07:03:10 jgg Exp $
+// $Id: dpkginit.cc,v 1.2 1999/04/18 06:36:36 jgg Exp $
/* ######################################################################
DPKG init - Initialize the dpkg stuff
@@ -54,8 +54,8 @@ bool pkgDpkgLock::GetLock()
string AdminDir = flNotFile(_config->Find("Dir::State::status"));
LockFD = ::GetLock(AdminDir + "lock");
if (LockFD == -1)
- return _error->Errno("Open","Unable to lock the administration directory "
- "%s, are you root?",AdminDir.c_str());
+ return _error->Error("Unable to lock the administration directory, "
+ "are you root?");
// Check for updates.. (dirty)
string File = AdminDir + "updates/";