diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-05 01:22:04 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-05 01:22:04 +0200 |
commit | 5a76a77a9651dd52560578bb509c917abba1d83c (patch) | |
tree | c2656dc98f891484af22776a631548ba4a43f23b | |
parent | 12f02a22684c63ddb7bfa5989626e45b8032b9cf (diff) |
proto/libevdev: fix typo
Issue #944
-rw-r--r-- | proto-libevdev/ftnoir_protocol_libevdev.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-libevdev/ftnoir_protocol_libevdev.cpp b/proto-libevdev/ftnoir_protocol_libevdev.cpp index 00f5fd07..27b73f2d 100644 --- a/proto-libevdev/ftnoir_protocol_libevdev.cpp +++ b/proto-libevdev/ftnoir_protocol_libevdev.cpp @@ -121,7 +121,7 @@ module_status evdev::initialize() if (error_code) { char buf[128] {}; - (void)strerror_r(errno, buf, sizeof(buf)); + (void)strerror_r(error_code, buf, sizeof(buf)); return error(QStringLiteral("libevdev call '%1' failed with error '%2' (%3)") .arg(!error_expr ? "<NULL>" : error_expr, buf).arg(error_code)); } |