]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Change way of printing name of a process
authorPawel Baldysiak <pawel.baldysiak@intel.com>
Wed, 11 Feb 2015 21:25:03 +0000 (22:25 +0100)
committerNeilBrown <neilb@suse.de>
Thu, 12 Feb 2015 01:11:01 +0000 (12:11 +1100)
Sometimes mdadm prints messages with wrong name "mdmon",
and vice versa.
This patch solves this problem by changing method of determining
process name.
Now "Name" will be set in const at start of a program,
previously was hardcoded as #define.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>

No differences found