diff options
author | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-03-15 16:02:08 +0100 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@intec.ugent.be> | 2016-03-15 16:02:08 +0100 |
commit | 8c649a56e61012d0b245defbdea3ff5c3acb21c1 (patch) | |
tree | 6fb96112f64976ca19d069beaf08dbb4d4e3791b | |
parent | 69fd7316e545bd94da2b066362ebf58dd945cbb3 (diff) | |
download | ouroboros-8c649a56e61012d0b245defbdea3ff5c3acb21c1.tar.gz ouroboros-8c649a56e61012d0b245defbdea3ff5c3acb21c1.zip |
lib: du_buff log an error when PCI > block size
du_buff.c: LOG_WARN changed to LOG_ERR
-rw-r--r-- | src/lib/du_buff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/du_buff.c b/src/lib/du_buff.c index a13e520d..918ee57d 100644 --- a/src/lib/du_buff.c +++ b/src/lib/du_buff.c @@ -81,7 +81,7 @@ struct buffer * buffer_create (size_t size, size_t headspace, size_t len) size_t ts = size - (headspace + len); if (headspace > DU_BLOCK_DATA_SIZE || ts > DU_BLOCK_DATA_SIZE) { - LOG_WARN("Illegal du_buff. Cannot fit PCI in DU_BUFF_BLOCK."); + LOG_ERR("Illegal du_buff: Cannot fit PCI in DU_BUFF_BLOCK."); return NULL; } |