summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-04 22:52:14 +0000
committerStef Walter <stef@memberwebs.com>2008-12-04 22:52:14 +0000
commit96cae9cf6af1356d1ed24fd9e21530cfa9ac85ee (patch)
tree08bcda1a16b2e068fedb5ce1d684f34acbad415b /src
parent6a533371d185946e1b49d62a193b81db31a1604f (diff)
Fix typo.
Diffstat (limited to 'src')
-rw-r--r--src/info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info.c b/src/info.c
index 0071431..eedf08e 100644
--- a/src/info.c
+++ b/src/info.c
@@ -118,7 +118,7 @@ info_slots(void)
}
/** - Passing too much buffer space. */
- count = p11t_info_slot_ids + 5;
+ count = p11t_info_slot_count + 5;
rv = (p11t_module_funcs->C_GetSlotList)(FALSE, p11t_info_slot_ids, &count);
if(!p11t_check_returns("C_GetSlotList", rv, CKR_OK))
{