summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cli/report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/report.c b/src/cli/report.c
index 72e9c4a6..989fb0f5 100644
--- a/src/cli/report.c
+++ b/src/cli/report.c
@@ -611,7 +611,7 @@ char *select_event_option(GList *list_options)
unsigned count = g_list_length(list_options) - 1;
if (!count)
- return NULL;
+ return xstrdup((char*)list_options->data);
int pos = -1;
fprintf(stdout, _("Select how you would like to analyze the problem:\n"));