]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: replace my_warn() with warnx()
authorSami Kerola <kerolasa@iki.fi>
Sun, 16 Jun 2013 18:53:48 +0000 (19:53 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 1 Jul 2013 09:07:33 +0000 (11:07 +0200)
commitb7dcc9661b543bab6673b25b360308364c1ed7bc
tree63eb1a1c50e251d9c04e35c035c7639f3326ed22
parent072a6c19734bfde8128a63c833e915b6c6e49cd7
sfdisk: replace my_warn() with warnx()

This change adds program name in front of error messages.  Often that
helps user to know which command sent message, when the command is
executed as part of script.

Unfortunately the prefixing can break scripts, as someone might have
wrote automation which expects output in the format it has always been.
In programmer terms, the change has an ABI change, which some may find
annoying.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
fdisks/sfdisk.c