aboutsummaryrefslogtreecommitdiff
path: root/tests/cyn/log.c
diff options
context:
space:
mode:
authorbonmas14 <bonmas14@gmail.com>2025-09-25 14:17:07 +0300
committerbonmas14 <bonmas14@gmail.com>2025-09-25 14:17:07 +0300
commit166877cf15f6afa89c9f8a61e267d485868d0ee1 (patch)
tree9f080314edc4fb293f91227cdc1c01cfec8d7bae /tests/cyn/log.c
parent8ebdc95621bc61fdf3c98cd7ae4ddca67398df23 (diff)
downloadungrateful-166877cf15f6afa89c9f8a61e267d485868d0ee1.tar.gz
ungrateful-166877cf15f6afa89c9f8a61e267d485868d0ee1.zip
+disgrace and rework of ungrateful.h
Diffstat (limited to 'tests/cyn/log.c')
-rw-r--r--tests/cyn/log.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cyn/log.c b/tests/cyn/log.c
index a6b0643..067d557 100644
--- a/tests/cyn/log.c
+++ b/tests/cyn/log.c
@@ -1,5 +1,7 @@
#include <cynic.h>
int main(void) {
- cyn_log_write(UN_LOG_INFO, UN_STR("Hello %u %d %s!"), (u64)100, (s64)-400, UN_STR("World"));
+ un_alloc_temp_init(UN_KB(4));
+
+ cyn_log_write(CYN_LOG_INFO, UN_STR("Hello %u %d %s!"), (u64)100, (s64)-400, UN_STR("World"));
}