summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-19 22:49:44 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-07-01 19:18:37 -0400
commitdfd19ccc3a21b18fb09cecff5d87d20a0adbafe3 (patch)
treead5f5e7ebf2912329bebbc8f87303aa71b61d7b5 /lib/command.c
parent6f6f00107e72cc9c01a6604ff514a5b25d52106d (diff)
*: update hash_create(), hash_create_size()
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 77fada1636..de8899687c 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -233,7 +233,7 @@ install_node (struct cmd_node *node,
// add start node
struct cmd_token *token = cmd_token_new (START_TKN, CMD_ATTR_NORMAL, NULL, NULL);
graph_new_node (node->cmdgraph, token, (void (*)(void *)) &cmd_token_del);
- node->cmd_hash = hash_create (cmd_hash_key, cmd_hash_cmp);
+ node->cmd_hash = hash_create (cmd_hash_key, cmd_hash_cmp, NULL);
}
/**