diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-26 22:46:47 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-05-26 22:46:47 +0200 |
commit | 1821da84d7d8e956b64235801110949fc85d4e1d (patch) | |
tree | a4a3968e4f1e005d44d2c23a0ddcf14c851ef04f /src/lib/shm_du_map.c | |
parent | 8bbc08da60fa088edd7a16754d718a4153db4d01 (diff) | |
download | ouroboros-1821da84d7d8e956b64235801110949fc85d4e1d.tar.gz ouroboros-1821da84d7d8e956b64235801110949fc85d4e1d.zip |
lib: fixed SHM_DU_BUFF_BLOCK_SIZE in shm_du_map
Diffstat (limited to 'src/lib/shm_du_map.c')
-rw-r--r-- | src/lib/shm_du_map.c | 2 |
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; } |