mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
Fixed an error log
This commit is contained in:
parent
af15744967
commit
effbe50ffd
@ -515,7 +515,7 @@ int db_write(pmdb_t *db, pmpkg_t *info, unsigned int inforeq)
|
|||||||
if(inforeq & INFRQ_DEPENDS) {
|
if(inforeq & INFRQ_DEPENDS) {
|
||||||
snprintf(path, PATH_MAX, "%s/depends", topdir);
|
snprintf(path, PATH_MAX, "%s/depends", topdir);
|
||||||
if((fp = fopen(path, "w")) == NULL) {
|
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;
|
goto error;
|
||||||
}
|
}
|
||||||
fputs("%DEPENDS%\n", fp);
|
fputs("%DEPENDS%\n", fp);
|
||||||
|
Loading…
Reference in New Issue
Block a user