From effbe50ffd811f4c289e5cb264c7b01303f57d19 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Thu, 6 Oct 2005 07:24:33 +0000 Subject: Fixed an error log --- lib/libalpm/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2