]> git.itanic.dy.fi Git - glucose/commit
Replace strerror() with "%m" at printf
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Tue, 27 Mar 2012 18:15:13 +0000 (21:15 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Tue, 27 Mar 2012 18:15:13 +0000 (21:15 +0300)
commit449770ae304a3c5ee656c0c6e50eb90bdcec1255
treeba752a61f0f127dcb13693ea944df674eb81b709
parente99c935378acbb51c88293e9611291426fe6d89a
Replace strerror() with "%m" at printf

The printf functions already support printing the errno value as a
string, there is no need to convert it manually.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
hiddev.c
main.c