index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 19:18:09 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 19:18:09 +0000 |
commit | 5faecdb523a8a6d1bff082f55d35d4ada6b9a257 (patch) | |
tree | 2484bb1ff18ac374ca695202c0c85fc5ba3041a9 /lib/libalpm/handle.c | |
parent | ba13bc8b7b5be371d796b201b23988fef4d6bc82 (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 2 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index 281eb96c..7d83c1e7 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -130,7 +130,7 @@ int handle_set_option(pmhandle_t *handle, unsigned char val, unsigned long data) PM_RET_ERR(PM_ERR_TRANS_INITIALIZED, -1); } - strncpy(str, ((char *)data) ? (char *)data : PACDBPATH, PATH_MAX); + strncpy(str, ((char *)data) ? (char *)data : PM_DBPATH, PATH_MAX); handle->dbpath = strdup(str); _alpm_log(PM_LOG_FLOW2, "PM_OPT_DBPATH set to '%s'", handle->dbpath); break; |