summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/reporter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/reporter.c b/tools/reporter.c
index a5272538..1c8e39d1 100644
--- a/tools/reporter.c
+++ b/tools/reporter.c
@@ -315,6 +315,9 @@ static int _report(struct cmd_context *cmd, int argc, char **argv,
"report/pvsegs_cols_verbose",
DEFAULT_PVSEGS_COLS_VERB);
break;
+ default:
+ log_error(INTERNAL_ERROR "Unknown report type.");
+ return ECMD_FAILED;
}
/* If -o supplied use it, else use default for report_type */