#include "libxfs.h"
#include "xfs_metadump.h"
-static int show_progress = 0;
-static int show_info = 0;
-static int progress_since_warning = 0;
+static bool show_progress = false;
+static bool show_info = false;
+static bool progress_since_warning = false;
static void
fatal(const char *msg, ...)
printf("\r%-59s", buf);
fflush(stdout);
- progress_since_warning = 1;
+ progress_since_warning = true;
}
/*
while ((c = getopt(argc, argv, "giV")) != EOF) {
switch (c) {
case 'g':
- show_progress = 1;
+ show_progress = true;
break;
case 'i':
- show_info = 1;
+ show_info = true;
break;
case 'V':
printf("%s version %s\n", progname, VERSION);