summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2022-01-13 08:26:51 -0600
committerTimo Teräs <timo.teras@iki.fi>2022-03-30 09:17:25 +0000
commitc29638cd8143e624012041acb24fc4dc94d6121b (patch)
tree8bec077a8dba230b306992c1e6340e4fcfd994bb /src/database.c
parentfee0587660993f85111ac8bb0cde3bf159936be2 (diff)
downloadapk-tools-c29638cd8143e624012041acb24fc4dc94d6121b.tar.gz
apk-tools-c29638cd8143e624012041acb24fc4dc94d6121b.tar.bz2
apk-tools-c29638cd8143e624012041acb24fc4dc94d6121b.tar.xz
apk-tools-c29638cd8143e624012041acb24fc4dc94d6121b.zip
use APK_DEFAULT_ABI_TAG everywhere APK_DEFAULT_ARCH was previously used
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index 6758e98..113597f 100644
--- a/src/database.c
+++ b/src/database.c
@@ -1680,7 +1680,7 @@ int apk_db_open(struct apk_database *db, struct apk_ctx *ac)
db->arch = apk_atomize_dup(&db->atoms, apk_blob_trim(arch));
free(arch.ptr);
} else {
- db->arch = apk_atomize(&db->atoms, APK_BLOB_STR(APK_DEFAULT_ARCH));
+ db->arch = apk_atomize(&db->atoms, APK_BLOB_STR(APK_DEFAULT_ABI_TAG));
db->write_arch = 1;
}
}