summaryrefslogtreecommitdiff
path: root/usr.sbin/btctl/parse.y
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2008-11-26 06:51:05 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2008-11-26 06:51:05 +0000
commit9dc81ca0a6153a852c7e65abefc7cc4718473541 (patch)
tree9656729564732522d664283eff0287e742db5642 /usr.sbin/btctl/parse.y
parentfb3784d3e4725a0c6721dc9fbd59e97ca60eee8f (diff)
pin_len -> pin_size
Diffstat (limited to 'usr.sbin/btctl/parse.y')
-rw-r--r--usr.sbin/btctl/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/btctl/parse.y b/usr.sbin/btctl/parse.y
index 164ae1bbc46..644ab248720 100644
--- a/usr.sbin/btctl/parse.y
+++ b/usr.sbin/btctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.2 2008/11/25 17:13:53 uwe Exp $ */
+/* $OpenBSD: parse.y,v 1.3 2008/11/26 06:51:04 uwe Exp $ */
/*
* Copyright (c) 2008 Uwe Stuehler <uwe@openbsd.org>
@@ -143,10 +143,10 @@ main
if ($4 != NULL) {
strbufcpy("PIN code", $4, stmt.pin);
- stmt.pin_len = strlen(stmt.pin);
+ stmt.pin_size = strlen(stmt.pin);
free($4);
} else
- stmt.pin_len = 0;
+ stmt.pin_size = 0;
switch (exec_stmt(BTCTL_ATTACH_STMT, &stmt, sizeof(stmt))) {
case 0: break;