1
0
Fork 0
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:
Steffen Vogel 2018-09-25 20:29:05 +02:00
parent 9e88472fd8
commit d734eb82b4

View file

@ -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;