summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-10-06 07:24:33 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-10-06 07:24:33 +0000
commiteffbe50ffd811f4c289e5cb264c7b01303f57d19 (patch)
tree9472148ca84cfe0892cf667f3a4a3315ea8bc708 /lib/libalpm
parentaf15744967957d4c14be9a0024475e335a2c4470 (diff)
downloadpacman-effbe50ffd811f4c289e5cb264c7b01303f57d19.tar.xz
Fixed an error log
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index f7d04bfe..600774b7 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -515,7 +515,7 @@ int db_write(pmdb_t *db, pmpkg_t *info, unsigned int inforeq)
if(inforeq & INFRQ_DEPENDS) {
snprintf(path, PATH_MAX, "%s/depends", topdir);
if((fp = fopen(path, "w")) == NULL) {
- _alpm_log(PM_LOG_ERROR, "could not open file %s/depends", db->treename);
+ _alpm_log(PM_LOG_ERROR, "db_write: could not open file %s/depends", db->treename);
goto error;
}
fputs("%DEPENDS%\n", fp);