summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <jbj>2016-03-28 22:01:08 +0000
committerjbj <jbj>2016-03-28 22:01:08 +0000
commit585f905488d92602255e081949836234e2c67b64 (patch)
treee39f15e0c31b32d12c173ea14ba6dc01b0904f8e
parentd0e5abd77879c9dedbef268136a58aba394d621c (diff)
downloadlibpopt-585f905488d92602255e081949836234e2c67b64.tar.gz
- sanity.
-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;
}