From: agk@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: device-mapper ./WHATS_NEW lib/libdm-report.c
Date: 20 Jan 2008 01:14:38 -0000 [thread overview]
Message-ID: <20080120011438.3568.qmail@sourceware.org> (raw)
CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: agk@sourceware.org 2008-01-20 01:14:38
Modified files:
. : WHATS_NEW
lib : libdm-report.c
Log message:
Use log_warn for reporting field help text instead of log_print.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.223&r2=1.224
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-report.c.diff?cvsroot=dm&r1=1.15&r2=1.16
--- device-mapper/WHATS_NEW 2008/01/15 22:48:11 1.223
+++ device-mapper/WHATS_NEW 2008/01/20 01:14:38 1.224
@@ -1,5 +1,6 @@
Version 1.02.25 -
====================================
+ Use log_warn for reporting field help text instead of log_print.
Change cluster mirror log type name (s/clustered_/clustered-/)
Version 1.02.24 - 20th December 2007
--- device-mapper/lib/libdm-report.c 2007/08/21 16:26:06 1.15
+++ device-mapper/lib/libdm-report.c 2008/01/20 01:14:38 1.16
@@ -260,16 +260,16 @@
desc = " ";
if (desc != last_desc) {
if (*last_desc)
- log_print(" ");
- log_print("%s Fields", desc);
- log_print("%*.*s", (int) strlen(desc) + 7,
- (int) strlen(desc) + 7,
- "------------------------------------------");
+ log_warn(" ");
+ log_warn("%s Fields", desc);
+ log_warn("%*.*s", (int) strlen(desc) + 7,
+ (int) strlen(desc) + 7,
+ "------------------------------------------");
}
/* FIXME Add line-wrapping at terminal width (or 80 cols) */
- log_print(" %-*s - %s", (int) id_len, rh->fields[f].id, rh->fields[f].desc);
+ log_warn(" %-*s - %s", (int) id_len, rh->fields[f].id, rh->fields[f].desc);
last_desc = desc;
}
}
@@ -444,7 +444,7 @@
if (!_field_match(rh, ws, (size_t) (we - ws))) {
_display_fields(rh);
- log_print(" ");
+ log_warn(" ");
if (strcasecmp(ws, "help") && strcmp(ws, "?"))
log_error("Unrecognised field: %.*s",
(int) (we - ws), ws);
next reply other threads:[~2008-01-20 1:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-20 1:14 agk [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-06-25 19:52 device-mapper ./WHATS_NEW lib/libdm-report.c agk
2007-04-27 15:22 agk
2007-04-19 20:24 agk
2007-01-18 22:15 agk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080120011438.3568.qmail@sourceware.org \
--to=agk@sourceware.org \
--cc=dm-cvs@sourceware.org \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.