mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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 <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35087>
This commit is contained in:
parent
524733a990
commit
72a1c4ffb2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue