summaryrefslogtreecommitdiffstats
path: root/mdoc_action.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-31 06:10:57 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-31 06:10:57 +0000
commitfecec57074220c2494d1098ec3e1fa90362a1e44 (patch)
tree496a201f25ed00e58a64f0ead626620bb1c08a5e /mdoc_action.c
parent9b34de59b184407dc87af383dc2b149c837e3b8b (diff)
downloadmandoc-fecec57074220c2494d1098ec3e1fa90362a1e44.tar.gz
Using perror() instead of fprintf for failure from library functions.
Diffstat (limited to 'mdoc_action.c')
-rw-r--r--mdoc_action.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index 9fc20184..d41f5073 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -19,7 +19,6 @@
#endif
#include <assert.h>
-#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -504,7 +503,6 @@ post_dt(POST_ARGS)
if (cp) {
/* FIXME: where is strtonum!? */
m->meta.vol = mandoc_strdup(cp);
- errno = 0;
lval = strtol(nn->string, &ep, 10);
if (nn->string[0] != '\0' && *ep == '\0')
m->meta.msec = (int)lval;