mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Fixed order of function calls for log-init
This commit is contained in:
parent
a44ec237f9
commit
5f2be6d46c
1 changed files with 4 additions and 4 deletions
|
@ -305,10 +305,6 @@ check: if (optarg == endptr)
|
|||
if (ret)
|
||||
error("Failed to initialize log");
|
||||
|
||||
ret = log_open(&sn.log);
|
||||
if (ret)
|
||||
error("Failed to start log");
|
||||
|
||||
ret = signals_init(quit);
|
||||
if (ret)
|
||||
error("Failed to initialize signals");
|
||||
|
@ -321,6 +317,10 @@ check: if (optarg == endptr)
|
|||
if (ret)
|
||||
error("Failed to parse configuration");
|
||||
|
||||
ret = log_open(&sn.log);
|
||||
if (ret)
|
||||
error("Failed to start log");
|
||||
|
||||
ret = memory_init(sn.hugepages);
|
||||
if (ret)
|
||||
error("Failed to initialize memory");
|
||||
|
|
Loading…
Add table
Reference in a new issue