thin_metadata_size: use NOO_NUMBER whilst defining full bool
This commit is contained in:
parent
3ee6985bbc
commit
9fac224f25
@ -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")
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user