1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
systemd/src/udev/scsi_id
Michal Schmidt 56f64d9576 treewide: use log_*_errno whenever %m is in the format string
If the format string contains %m, clearly errno must have a meaningful
value, so we might as well use log_*_errno to have ERRNO= logged.

Using:
find . -name '*.[ch]' | xargs sed -r -i -e \
's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/'

Plus some whitespace, linewrap, and indent adjustments.
2014-11-28 19:49:27 +01:00
..
.gitignore move imported udev into place 2012-04-04 05:05:07 +02:00
Makefile build-sys: add missing makefile symlinks 2014-08-11 20:15:14 +02:00
README move imported udev into place 2012-04-04 05:05:07 +02:00
scsi_id.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
scsi_id.h scsi_id: cleanup 2013-12-18 23:58:23 -05:00
scsi_serial.c treewide: use log_*_errno whenever %m is in the format string 2014-11-28 19:49:27 +01:00
scsi.h move imported udev into place 2012-04-04 05:05:07 +02:00

scsi_id - generate a SCSI unique identifier for a given SCSI device

Please send questions, comments or patches to <patmans@us.ibm.com> or
<linux-hotplug-devel@lists.sourceforge.net>.