diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 20:04:17 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 20:04:17 +0000 |
commit | 49415cb67560b0d432943d00d913eba655f440cb (patch) | |
tree | ce5d17e5eac8c83c5ff6c55b8da75dc84f06342a /lib | |
parent | 755a195e543b3cd7e3afd110e72345a7b82717c1 (diff) | |
download | pacman-49415cb67560b0d432943d00d913eba655f440cb.tar.xz |
Added a missing argument in db_create()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 9682afa9..3b962d96 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -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); } |