mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 14:00:29 +01:00
Change a fprintf to log_error
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
42f482b43d
commit
6d26728a16
1 changed files with 3 additions and 2 deletions
|
|
@ -1672,8 +1672,9 @@ libinput_post_event(struct libinput *libinput,
|
|||
events_len *= 2;
|
||||
events = realloc(events, events_len * sizeof *events);
|
||||
if (!events) {
|
||||
fprintf(stderr, "Failed to reallocate event ring "
|
||||
"buffer");
|
||||
log_error(libinput,
|
||||
"Failed to reallocate event ring buffer. "
|
||||
"Events may be discarded\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue