From 96cae9cf6af1356d1ed24fd9e21530cfa9ac85ee Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 4 Dec 2008 22:52:14 +0000 Subject: Fix typo. --- src/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3