Skip to content

Commit

Permalink
Rename ZeroSizeBuffer to NullEmptyBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
celskeggs committed Jan 28, 2025
1 parent 00c5016 commit 81bf5d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Svc/BufferManager/BufferManagerComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ namespace Svc {
// however, empty non-null buffers could potentially be previously allocated
// buffers with their size reduced. the user is allowed to make buffers smaller.
if (fwBuffer.getData() == nullptr && fwBuffer.getSize() == 0) {
this->log_WARNING_HI_ZeroSizeBuffer();
this->log_WARNING_HI_NullEmptyBuffer();
this->m_emptyBuffs++;
return;
}
Expand Down
6 changes: 3 additions & 3 deletions Svc/BufferManager/Events.fppi
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ event NoBuffsAvailable(
format "No available buffers of size {}" \
throttle 10

@ The buffer manager received a zero-sized buffer as a return. Probably undetected empty buffer allocation
event ZeroSizeBuffer \
@ The buffer manager received a null pointer and zero-sized buffer as a return. Probably undetected failed buffer allocation
event NullEmptyBuffer \
severity warning high \
id 0x01 \
format "Received zero size buffer" \
format "Received null pointer and zero size buffer" \
throttle 10

0 comments on commit 81bf5d5

Please sign in to comment.