From fecec57074220c2494d1098ec3e1fa90362a1e44 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 31 Oct 2009 06:10:57 +0000 Subject: Using perror() instead of fprintf for failure from library functions. --- man_action.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'man_action.c') diff --git a/man_action.c b/man_action.c index 876beabf..19e11e39 100644 --- a/man_action.c +++ b/man_action.c @@ -17,7 +17,6 @@ #include #include -#include #include #include @@ -149,7 +148,6 @@ post_TH(struct man *m) n = n->next; assert(n); - errno = 0; lval = strtol(n->string, &ep, 10); if (n->string[0] != '\0' && *ep == '\0') m->meta.msec = (int)lval; -- cgit