summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--popt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/popt.c b/popt.c
index 7f0bc38..cff60b7 100644
--- a/popt.c
+++ b/popt.c
@@ -1438,8 +1438,9 @@ static int poptSaveArg(poptContext con, const struct poptOption * opt)
/*@=assignexpose =type@*/
/*@switchbreak@*/ break;
default:
- fprintf(stdout, POPT_("option type (%u) not implemented in popt\n"),
+ fprintf(stdout, POPT_("option type (%u) not implemented in popt"),
poptArgType(opt));
+ fprintf(stdout, "\n");
exit(EXIT_FAILURE);
/*@notreached@*/ /*@switchbreak@*/ break;
}