summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2016-05-27 10:30:53 +0200
committerSander Vrijders <[email protected]>2016-05-27 10:30:53 +0200
commit575a002bda3253ededd3e30146546769da465c7e (patch)
treea4a3968e4f1e005d44d2c23a0ddcf14c851ef04f /src
parent8bbc08da60fa088edd7a16754d718a4153db4d01 (diff)
parent1821da84d7d8e956b64235801110949fc85d4e1d (diff)
downloadouroboros-575a002bda3253ededd3e30146546769da465c7e.tar.gz
ouroboros-575a002bda3253ededd3e30146546769da465c7e.zip
Merged in dstaesse/ouroboros/be-du-map (pull request #114)
lib: fixed SHM_DU_BUFF_BLOCK_SIZE in shm_du_map
Diffstat (limited to 'src')
-rw-r--r--src/lib/shm_du_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/shm_du_map.c b/src/lib/shm_du_map.c
index 249685fd..f63ce32d 100644
--- a/src/lib/shm_du_map.c
+++ b/src/lib/shm_du_map.c
@@ -248,7 +248,7 @@ ssize_t shm_create_du_buff(struct shm_du_map * dum,
}
#ifdef SHM_MAP_SINGLE_BLOCK
- if (size + sizeof *sdb > SHM_DU_MAP_BLOCK_SIZE) {
+ if (size + sizeof *sdb > SHM_DU_BUFF_BLOCK_SIZE) {
LOG_DBGF("Multi-block SDU's disabled. Dropping.");
return -1;
}