mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-12 00:43:04 +00:00
error-decode: stdin is 0 not 1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user