diff options
Diffstat (limited to 'src/mds-kbdc')
-rw-r--r-- | src/mds-kbdc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/tree.c b/src/mds-kbdc/tree.c index eef2d7f..df94a97 100644 --- a/src/mds-kbdc/tree.c +++ b/src/mds-kbdc/tree.c @@ -277,7 +277,7 @@ mds_kbdc_tree_t* mds_kbdc_tree_dup(mds_kbdc_tree_t* restrict this) mds_kbdc_tree_t* node = NULL; int saved_errno; - fail_if ((this == NULL) || xcalloc(node, 1, sizeof(mds_kbdc_tree_t))); + fail_if ((this == NULL) || xcalloc(node, 1, mds_kbdc_tree_t)); node->type = this->type; node->loc_line = this->loc_line; |