tools: share setting up libkmod log
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 6 Nov 2012 20:26:34 +0000 (18:26 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 6 Nov 2012 20:52:09 +0000 (18:52 -0200)
commit52a50fe2e548d3a3c112074e9c4e89237c257161
tree7592d5a15399dff756fa2504c795c00c2c71b98c
parent92aad74925f788097b54a3f45392e7d272c0201b
tools: share setting up libkmod log

This also fixes a bug in "e6996c5 rmmod: route all messages to syslog if
told to" in which "+ verbose" was removed. Instead of letting verbose
add to kmod_get_log_priority(), let it be similar to the other programs
instead.
tools/depmod.c
tools/log.c
tools/log.h
tools/modprobe.c
tools/rmmod.c