summaryrefslogtreecommitdiff
path: root/src/add.c
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-08-11 19:02:22 +0300
committerTimo Teras <timo.teras@iki.fi>2009-08-11 19:02:22 +0300
commitaddae04c266401cf049f1188917bf3432873933c (patch)
treee2469e26d79fa4b8828d95271fe1e740559019e3 /src/add.c
parent949d375aa9c9a7fe9cec85740df9de296fab095f (diff)
downloadapk-tools-addae04c266401cf049f1188917bf3432873933c.tar.gz
apk-tools-addae04c266401cf049f1188917bf3432873933c.tar.bz2
apk-tools-addae04c266401cf049f1188917bf3432873933c.tar.xz
apk-tools-addae04c266401cf049f1188917bf3432873933c.zip
db, audit: audit symlinks (by hash of the link target)
Diffstat (limited to 'src/add.c')
-rw-r--r--src/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/add.c b/src/add.c
index cb4c1eb..f287b24 100644
--- a/src/add.c
+++ b/src/add.c
@@ -77,7 +77,7 @@ static int add_main(void *ctx, struct apk_database *db, int argc, char **argv)
}
virtpkg->name = apk_db_get_name(db, APK_BLOB_STR(actx->virtpkg));
apk_blob_checksum(APK_BLOB_STR(virtpkg->name->name),
- apk_default_checksum(), &virtpkg->csum);
+ apk_checksum_default(), &virtpkg->csum);
virtpkg->version = strdup("0");
virtpkg->description = strdup("virtual meta package");
apk_dep_from_pkg(&virtdep, db, virtpkg);