summaryrefslogtreecommitdiffstats
path: root/runtime/print_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/print_new.c')
-rw-r--r--runtime/print_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/print_new.c b/runtime/print_new.c
index 4e579c37..4857b301 100644
--- a/runtime/print_new.c
+++ b/runtime/print_new.c
@@ -72,7 +72,7 @@ void EXPORT_FN(stp_print_flush) (_stp_pbuf *pb)
uint32_t cnt;
char *bufp = pb->buf;
-#define MAX_RESERVE_SIZE (4080 /*BUF_PAGE_SIZE*/ - sizeof(struct _stp_entry) - 8)
+#define MAX_RESERVE_SIZE (4080 /*BUF_PAGE_SIZE*/ - sizeof(struct _stp_entry) - 10)
while (len > 0) {
if (len > MAX_RESERVE_SIZE) {
len -= MAX_RESERVE_SIZE;