mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
node: fix assertion in node_init()
This commit is contained in:
parent
9e88472fd8
commit
d734eb82b4
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ int node_init(struct node *n, struct node_type *vt)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = node_type(n)->init ? node_type(n)->init(n) : 0;
|
||||
ret = vt->init ? vt->init(n) : 0;
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue