summaryrefslogtreecommitdiff
path: root/src/lib/shm_du_map.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-03-25 11:50:35 +0100
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-03-25 11:50:35 +0100
commit30da4c65b62b5642f3f603b883e695ce2df2e50b (patch)
treec5c15dbe5ac35578aea922ccd5f7d07c9bc00f47 /src/lib/shm_du_map.c
parentdc8e71461eb6c1c72dbfd38261a1616c053e7bbd (diff)
downloadouroboros-30da4c65b62b5642f3f603b883e695ce2df2e50b.tar.gz
ouroboros-30da4c65b62b5642f3f603b883e695ce2df2e50b.zip
lib/ipcpd: fixed logging mistake
logs should be included in source, not in header
Diffstat (limited to 'src/lib/shm_du_map.c')
-rw-r--r--src/lib/shm_du_map.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/shm_du_map.c b/src/lib/shm_du_map.c
index dc73077f..74affc13 100644
--- a/src/lib/shm_du_map.c
+++ b/src/lib/shm_du_map.c
@@ -28,6 +28,11 @@
#include <malloc.h>
#include <string.h>
+#define OUROBOROS_PREFIX "shm_du_map"
+
+#include <ouroboros/logs.h>
+
+
#define SHM_BLOCKS_SIZE (SHM_BLOCKS_IN_MAP * SHM_DU_BUFF_BLOCK_SIZE)
#define SHM_FILE_SIZE (SHM_BLOCKS_SIZE + 2 * sizeof (size_t) \
+ sizeof(pthread_mutex_t))