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:
parent
755a195e54
commit
49415cb675
@ -89,7 +89,7 @@ int db_create(char *root, char *dbpath, char *treename)
|
|||||||
return(-1);
|
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) {
|
if(_alpm_makepath(path) != 0) {
|
||||||
return(-1);
|
return(-1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user