diff options
author | Petr Rockai <prockai@redhat.com> | 2007-06-28 17:33:44 +0000 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2007-06-28 17:33:44 +0000 |
commit | e7ddf4168d2c0283efe4764e89901bdca8838f93 (patch) | |
tree | a0bdb23ff8aa689dd9df96ead8a35174c6a0211d /tools/pvremove.c | |
parent | ba117ad80e1b8f0aafa80601b3f6970405b772e6 (diff) | |
download | lvm2-e7ddf4168d2c0283efe4764e89901bdca8838f93.tar.gz lvm2-e7ddf4168d2c0283efe4764e89901bdca8838f93.tar.xz lvm2-e7ddf4168d2c0283efe4764e89901bdca8838f93.zip |
Make warnings go to stderr. Change log_warn to that effect, log_print
continues to send messages to stdout.
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r-- | tools/pvremove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c index 8567e006..0e600941 100644 --- a/tools/pvremove.c +++ b/tools/pvremove.c @@ -62,7 +62,7 @@ static int pvremove_check(struct cmd_context *cmd, const char *name) } if (arg_count(cmd, force_ARG)) { - log_print("WARNING: Wiping physical volume label from " + log_warn("WARNING: Wiping physical volume label from " "%s%s%s%s", name, !is_orphan(pv) ? " of volume group \"" : "", !is_orphan(pv) ? pv_vg_name(pv) : "", |