diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-27 10:30:53 +0200 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2016-05-27 10:30:53 +0200 |
commit | 575a002bda3253ededd3e30146546769da465c7e (patch) | |
tree | a4a3968e4f1e005d44d2c23a0ddcf14c851ef04f /src/lib | |
parent | 8bbc08da60fa088edd7a16754d718a4153db4d01 (diff) | |
parent | 1821da84d7d8e956b64235801110949fc85d4e1d (diff) | |
download | ouroboros-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/lib')
-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; } |