Close /dev/kfd after access check.
Cleanup dangling file handle. Change-Id: I37bc42a2ffb7122f441cbf8a09c141d4396db928
This commit is contained in:
@@ -1044,6 +1044,7 @@ int CheckInitialState(void) {
|
||||
} else {
|
||||
printf("%sROCk module is loaded%s\n", COL_WHT, COL_RESET);
|
||||
}
|
||||
pclose(fd);
|
||||
|
||||
// Check if user belongs to the group for /dev/kfd (e.g. "video" or
|
||||
// "render")
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user