]> code.delx.au - spectrwm/commit
Use the warn(3) functions instead of fprintf(3).
authorTiago Cunha <tcunha@gmx.com>
Thu, 2 Feb 2012 23:55:19 +0000 (23:55 +0000)
committerTiago Cunha <tcunha@gmx.com>
Tue, 7 Feb 2012 23:05:26 +0000 (23:05 +0000)
commitfe1d4ab5ca0994139cc4dd1f28d0a4515b9ee130
treed0ef05a865cc151a450218456de150f9b96b6676
parent20f6684161c42b30f9aad3fafa4431bd3ab88fd8
Use the warn(3) functions instead of fprintf(3).

Rather than using fprintf(3) to display a formatted error message on
stderr (and, occasionally in conjunction with strerror(3)), use the
warn(3) functions. A few cases that also used perror(3) were changed
accordingly, as well.

While there, remove an extra fprintf(3) call in conf_load which is
already followed by an err(3).

ok marco
scrotwm.c