From 72a1c4ffb2b905b3ee0a9ba0243ce9f865b10098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Wed, 21 May 2025 12:28:35 +0200 Subject: [PATCH] radv/debug: use common path for dmesg and tail popen does not find the command when the full path is not specified. Chose /bin as the main location for both dmesg and tail to keep compatibility with old distribution and possible embedded rootfs. Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c index e8c77bcc4c2..53fed63b28d 100644 --- a/src/amd/vulkan/radv_debug.c +++ b/src/amd/vulkan/radv_debug.c @@ -739,7 +739,7 @@ static void radv_dump_dmesg(FILE *f) { fprintf(f, "\nLast 60 lines of dmesg:\n\n"); - radv_dump_cmd("dmesg | tail -n60", f); + radv_dump_cmd("/bin/dmesg | /bin/tail -n60", f); } void