Re: [PATCH i-g-t v3 2/5] lib: Add more debug messages to error paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, 17 July 2024 14:26:13 GMT+2 Janusz Krzysztofik wrote:
>         while (dir >= 0 && (path = va_arg(ap, const char *))) {
>                 int fd;
>  
> -               fd = openat(dir, path, O_RDONLY);
> +               igt_debug_on_f((fd = openat(dir, path, O_RDONLY)) < 0,
> +                              "failed component: %s", path);
                                                    ^^^^^
Missing newline, sorry.

Please expect new version.

Thanks,
Janusz

>                 close(dir);
>  
>                 dir = fd;







[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux