]> git.ipfire.org Git - thirdparty/kmod.git/commit - libkmod/libkmod.c
improve logging to mention context.
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Sat, 7 Jan 2012 21:37:37 +0000 (19:37 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Wed, 1 Feb 2012 00:01:00 +0000 (22:01 -0200)
commitdfa96f154529a666bee177f4ac44e0d3a9811ad5
treeea5f059f0cba2367604cf03436a063a816d696d1
parente3cb0900dd58a4b3a5c85ef52983b1e65931150b
improve logging to mention context.

Just printing the errno string such as "%m\n" is not enough to help
debug or users understand the problem.

Change to provide more context on the failing operation.
libkmod/libkmod-config.c
libkmod/libkmod-index.c
libkmod/libkmod.c