From e7ddf4168d2c0283efe4764e89901bdca8838f93 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Thu, 28 Jun 2007 17:33:44 +0000 Subject: Make warnings go to stderr. Change log_warn to that effect, log_print continues to send messages to stdout. --- tools/pvremove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/pvremove.c') 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) : "", -- cgit