summaryrefslogtreecommitdiff
path: root/src/add.c
diff options
context:
space:
mode:
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 be8012b..b20d16f 100644
--- a/src/add.c
+++ b/src/add.c
@@ -23,7 +23,7 @@ static int add_main(int argc, char **argv)
for (i = 0; i < argc; i++) {
struct apk_dependency dep = {
- .name = apk_db_get_name(&db, argv[i]),
+ .name = apk_db_get_name(&db, APK_BLOB_STR(argv[i])),
};
apk_deps_add(&db.world, &dep);
}