aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxc/xc_core.c')
-rw-r--r--tools/libxc/xc_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xc_core.c b/tools/libxc/xc_core.c
index 5a23667667..7f6f0ee67a 100644
--- a/tools/libxc/xc_core.c
+++ b/tools/libxc/xc_core.c
@@ -85,7 +85,7 @@ xc_core_strtab_init(void)
{
struct xc_core_strtab *strtab;
char *strings;
- strtab = malloc(sizeof(strtab));
+ strtab = malloc(sizeof(*strtab));
if ( strtab == NULL )
return NULL;