chiark / gitweb /
terminal: fix uninitialized variable in strerror() log message
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 11 Sep 2014 15:20:11 +0000 (17:20 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 11 Sep 2014 15:20:11 +0000 (17:20 +0200)
commit21978bc3c90ec192130a9ea9df62a75d1262b80c
tree3a8f5a93b8e233c40bebe81c40849ca6a08b407b
parent48d4c7468fb5003ae45ac834de1ca85624cdd56e
terminal: fix uninitialized variable in strerror() log message

We currently print weird error-messages if xkbcommon fails (which cannot
fail so far, but might in the future). Fix the uninitialized variable
warnings by setting 'r' correctly.
Thanks to Philippe De Swert for catching this (via coverity).
src/libsystemd-terminal/idev-keyboard.c