chiark / gitweb /
Silence some "unchecked return-value" warnings
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Sep 2014 11:33:53 +0000 (13:33 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 23 Sep 2014 18:05:44 +0000 (20:05 +0200)
commitce540a24d53e1751a5b69224d5a7f5a59f2de7ad
tree994109f483d2232e29423e671eed1ae49cf3a04e
parent590889ac53c8557493f491b4259669e54074615d
Silence some "unchecked return-value" warnings

This adds some log-messages to ioctl() calls where we don't really care
for the return value. It isn't strictly necessary to look for those, but
lets be sure and print warnings. This silences gcc and coverity, and also
makes sure we get reports in case something goes wrong and we didn't
expect it to fail that way.
src/libsystemd-terminal/grdev-drm.c
src/login/logind-session.c