diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-06 17:21:10 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-02 20:44:53 -0600 |
commit | 797164f75b91c5cdfb68fc91d6853e7609d97e12 (patch) | |
tree | a136f9273d6ed8c85d31a8d0b9c1d80234b3fb17 /libmisc/tests/test_assert.c | |
parent | ece605ec021de84aa1a9e282f342c38505ba794b (diff) |
Add libfmt to bypass output buffering for libmisc:assert
Diffstat (limited to 'libmisc/tests/test_assert.c')
-rw-r--r-- | libmisc/tests/test_assert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmisc/tests/test_assert.c b/libmisc/tests/test_assert.c index 3c2d6b6..15f9446 100644 --- a/libmisc/tests/test_assert.c +++ b/libmisc/tests/test_assert.c @@ -1,6 +1,6 @@ /* libmisc/tests/test_assert.c - Tests for <libmisc/assert.h> * - * Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> + * Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-License-Identifier: AGPL-3.0-or-later */ @@ -35,7 +35,7 @@ void __lm_abort(void) { longjmp(global_env, 1); } -int __lm_printf(const char *format, ...) { +int __lm_light_printf(const char *format, ...) { va_list va; va_start(va, format); int ret = vasprintf(&global_log, format, va); |