index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-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; |