summaryrefslogtreecommitdiff
path: root/src/lib/dev.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-09-20 09:44:17 +0200
committerdimitri staessens <[email protected]>2017-09-20 09:49:49 +0200
commitc665c71719225ef6d076c6be24c588049527f31f (patch)
treecbb01b76f47c50e7bf86443d0bb37747b41b8cff /src/lib/dev.c
parent476a3fe224554780b5737ac8db8f9fd39b32fe14 (diff)
downloadouroboros-c665c71719225ef6d076c6be24c588049527f31f.tar.gz
ouroboros-c665c71719225ef6d076c6be24c588049527f31f.zip
irmd: Init libgcrypt before using it
Diffstat (limited to 'src/lib/dev.c')
-rw-r--r--src/lib/dev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index b945968d..9cb6f2ed 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -676,8 +676,7 @@ int ouroboros_init(const char * ap_name)
if (pthread_rwlock_init(&ai.lock, NULL))
goto fail_lock;
- ai.tw = timerwheel_create(TW_RESOLUTION,
- TW_RESOLUTION * TW_ELEMENTS);
+ ai.tw = timerwheel_create(TW_RESOLUTION, TW_RESOLUTION * TW_ELEMENTS);
if (ai.tw == NULL)
goto fail_timerwheel;