summaryrefslogtreecommitdiff
path: root/cmd_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_key.c')
-rw-r--r--cmd_key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd_key.c b/cmd_key.c
index e9fc377b..b22de815 100644
--- a/cmd_key.c
+++ b/cmd_key.c
@@ -15,11 +15,11 @@ int cmd_unlock(int argc, char *argv[])
if (argc != 2)
die("please supply a single device");
- sb = bcache_super_read(argv[1]);
+ sb = bch2_super_read(argv[1]);
passphrase = read_passphrase("Enter passphrase: ");
- add_bcache_key(sb, passphrase);
+ bch2_add_key(sb, passphrase);
memzero_explicit(passphrase, strlen(passphrase));
free(passphrase);