1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-21 23:38:49 -05:00

Added a missing argument in db_create()

This commit is contained in:
Aurelien Foret 2005-03-16 20:04:17 +00:00
parent 755a195e54
commit 49415cb675

View File

@ -89,7 +89,7 @@ int db_create(char *root, char *dbpath, char *treename)
return(-1);
}
snprintf(path, PATH_MAX, "%s%s/%s", root, dbpath);
snprintf(path, PATH_MAX, "%s%s/%s", root, dbpath, treename);
if(_alpm_makepath(path) != 0) {
return(-1);
}