From 5bc2263b54a89e28dd5092c807a86cd3c078e4d3 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Wed, 22 May 2019 21:59:19 +0200 Subject: Add a log print function type for information reporting This type allows the use of either printf-based or log-based functions when reporting information. --- test/test_mutex_pi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_mutex_pi.c') diff --git a/test/test_mutex_pi.c b/test/test_mutex_pi.c index 5ddcfa70..ebe8ea97 100644 --- a/test/test_mutex_pi.c +++ b/test/test_mutex_pi.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 Richard Braun. + * Copyright (c) 2017-2019 Richard Braun. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -312,7 +312,7 @@ test_manage_b(void *arg) } printf("b:%u ", i); - syscnt_info("thread_boosts"); + syscnt_info("thread_boosts", log_info); } } -- cgit v1.2.3