thin_metadata_size: use NOO_NUMBER whilst defining full bool

This commit is contained in:
Heinz Mauelshagen 2013-07-18 14:19:06 +02:00
parent b7ca980664
commit e8f9fc6dff
2 changed files with 5 additions and 1 deletions

View File

@ -264,7 +264,11 @@ install: $(PROGRAMS)
$(INSTALL_DIR) $(MANPATH)/man8
$(INSTALL_DATA) man8/thin_check.8 $(MANPATH)/man8
$(INSTALL_DATA) man8/thin_dump.8 $(MANPATH)/man8
$(INSTALL_DATA) man8/thin_metadata_size.8 $(MANPATH)/man8
$(INSTALL_DATA) man8/thin_repair.8 $(MANPATH)/man8
$(INSTALL_DATA) man8/thin_restore.8 $(MANPATH)/man8
$(INSTALL_DATA) man8/thin_rmap.8 $(MANPATH)/man8
.PHONY: install
ifeq ("@TESTING@", "yes")

View File

@ -320,7 +320,7 @@ static const unsigned mappings_per_block(void)
static void print_precision(struct global *g, double r, unsigned idx)
{
bool full = !g->options.n[NUMERIC];
bool full = g->options.n[NUMERIC] == NO_NUMBER;
double rtrunc = truncl(r);
if (full)