Browse Source
Merge pull request #8590 from DrWenz/fix/drmoutput
Fix DrmCard creation for passed path
pull/8595/head
Nikita Tsukanov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Linux/Avalonia.LinuxFramebuffer/Output/DrmBindings.cs
|
|
|
@ -164,7 +164,7 @@ namespace Avalonia.LinuxFramebuffer.Output |
|
|
|
else |
|
|
|
{ |
|
|
|
Fd = open(path, 2, 0); |
|
|
|
if(Fd != -1) throw new Win32Exception($"Couldn't open {path}"); |
|
|
|
if(Fd == -1) throw new Win32Exception($"Couldn't open {path}"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|