diff mbox series

[5/8] rt-tests: pip_stress: Add missing paramater in error message

Message ID 20210827220244.24210-6-jkacur@redhat.com
State New
Headers show
Series [1/8] rt-tests: deadline_test: Move va_start forward | expand

Commit Message

John Kacur Aug. 27, 2021, 10:02 p.m. UTC
Add missing string __func__ in error message

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 src/pi_tests/pip_stress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/pi_tests/pip_stress.c b/src/pi_tests/pip_stress.c
index 8b91578f9ab8..c6d2bae05035 100644
--- a/src/pi_tests/pip_stress.c
+++ b/src/pi_tests/pip_stress.c
@@ -254,7 +254,7 @@  long process_shared_mutex_available(void)
 	res = sysconf(_SC_THREAD_PROCESS_SHARED);
 	if (res == -1) {
 		int err = errno;	/* save the error number */
-		err_msg("%s: sysconf(_SC_THREAD_PROCESS_SHARED): ");
+		err_msg("%s: sysconf(_SC_THREAD_PROCESS_SHARED): ", __func__);
 		err_exit(err, NULL);
 	}
 #else