summaryrefslogtreecommitdiff
path: root/module/storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/storage.c')
-rw-r--r--module/storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/storage.c b/module/storage.c
index 1cfd448..6c1190b 100644
--- a/module/storage.c
+++ b/module/storage.c
@@ -74,7 +74,7 @@ sid_storage_initialize (void *memory, size_t n_memory)
return NULL;
storage = memory;
- memset (storage, 0, sizeof (storage));
+ memset (storage, 0, sizeof (sid_storage_t));
/* Note that we assume that it's all blank */
storage->records = (sid_nonce_t*)(storage + 1);