mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
error-decode: stdin is 0 not 1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
94de0b46b5
commit
292ae4538a
@ -327,7 +327,7 @@ main (int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (argc == 1) {
|
||||
if (isatty(1)) {
|
||||
if (isatty(0)) {
|
||||
path = "/debug/dri/0";
|
||||
err = stat (path, &st);
|
||||
if (err != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user