]> git.ipfire.org Git - thirdparty/mdadm.git/commit - sysfs.c
Consistently print program Name and __func__ in debug messages.
authorNeilBrown <neilb@suse.de>
Thu, 12 Feb 2015 02:21:17 +0000 (13:21 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 12 Feb 2015 02:21:17 +0000 (13:21 +1100)
commit1ade5cc15a61c6fe3084c5170934e05e9a574843
treecef09af9a834857dc8d5929573784583cf35902d
parentd56dd607ba433d9334f0fb4114fe081742ae4361
Consistently print program Name and __func__ in debug messages.

make dprintf() print program name and __func__, so that
this messaging is consistent.

Also remove all __func__ messages from pr_err(). We shouldn't
leak that internal data in error message.
If we really want function name there, we new pr_XXX might
be wanted.

Signed-off-by: NeilBrown <neilb@suse.de>
14 files changed:
Grow.c
Incremental.c
managemon.c
mdadm.c
mdadm.h
monitor.c
super-ddf.c
super-gpt.c
super-intel.c
super-mbr.c
super0.c
super1.c
sysfs.c
util.c