aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-01-13 12:11:18 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:38 +0100
commitffcb53e4cb3419ea31bf7b22e5f0c42fd54041da (patch)
treea453e235a84815fa781eb3aeee94210764e681d2 /NK_C_API.cc
parentdeed3e733e7158859fd48ef51b64d924ea4e8184 (diff)
downloadlibnitrokey-ffcb53e4cb3419ea31bf7b22e5f0c42fd54041da.tar.gz
libnitrokey-ffcb53e4cb3419ea31bf7b22e5f0c42fd54041da.tar.bz2
Name fix for firmware version getter
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.cc')
-rw-r--r--NK_C_API.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/NK_C_API.cc b/NK_C_API.cc
index 224a3a8..f396fcb 100644
--- a/NK_C_API.cc
+++ b/NK_C_API.cc
@@ -474,7 +474,7 @@ extern int NK_get_progress_bar_value() {
extern int NK_get_major_firmware_version(){
auto m = NitrokeyManager::instance();
return get_with_result([&](){
- return m->get_major_firmware_version();
+ return m->get_minor_firmware_version();
});
}