summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-16 19:18:09 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-16 19:18:09 +0000
commit5faecdb523a8a6d1bff082f55d35d4ada6b9a257 (patch)
tree2484bb1ff18ac374ca695202c0c85fc5ba3041a9 /lib/libalpm/handle.c
parentba13bc8b7b5be371d796b201b23988fef4d6bc82 (diff)
downloadpacman-5faecdb523a8a6d1bff082f55d35d4ada6b9a257.tar.xz
Renamed PACXXX defines to PM_XXX
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c2
1 files changed, 1 insertions, 1 deletions
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;