Removed a hardcoded reference to the 'local' database in db_create()

This commit is contained in:
Aurelien Foret 2005-03-16 19:36:15 +00:00
parent 606c70fdc9
commit fac045a958
1 changed files with 1 additions and 1 deletions

View File

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