[lvm-devel] [PATCH 27/29] Add standard check for result of lv_info call

Alasdair G Kergon agk at redhat.com
Mon Nov 29 21:34:05 UTC 2010


On Thu, Nov 25, 2010 at 11:55:31AM +0100, Zdenek Kabelac wrote:
> Also add log_error message in case info would not be found.
 
Ack.

> +			log_error("Check for existence of mirror log '%s' failed.",

I generally don't use any quotes around names.
Heinz uses \".

> +			log_error("Check for existence of mirror leg '%s' failed.",

Rightly or wrongly, we decided never to use 'leg' in user-visible error messages
or documentation (in favour of 'image').

Alasdair




More information about the lvm-devel mailing list