Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
12ef137b
Commit
12ef137b
authored
Aug 16, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Aug 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebus.sys: Ignore EV_REL / EV_ABS ioctl failures.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fd73402c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bus_udev.c
dlls/winebus.sys/bus_udev.c
+2
-2
No files found.
dlls/winebus.sys/bus_udev.c
View file @
12ef137b
...
...
@@ -357,12 +357,12 @@ static BOOL build_report_descriptor(struct wine_input_private *ext, struct udev_
if
(
ioctl
(
ext
->
base
.
device_fd
,
EVIOCGBIT
(
EV_REL
,
sizeof
(
relbits
)),
relbits
)
==
-
1
)
{
WARN
(
"ioctl(EVIOCGBIT, EV_REL) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
return
FALSE
;
memset
(
relbits
,
0
,
sizeof
(
relbits
))
;
}
if
(
ioctl
(
ext
->
base
.
device_fd
,
EVIOCGBIT
(
EV_ABS
,
sizeof
(
absbits
)),
absbits
)
==
-
1
)
{
WARN
(
"ioctl(EVIOCGBIT, EV_ABS) failed: %d %s
\n
"
,
errno
,
strerror
(
errno
));
return
FALSE
;
memset
(
absbits
,
0
,
sizeof
(
absbits
))
;
}
report_size
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment