summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-17 22:27:35 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-06-17 22:27:35 +0000
commit80657e005326198883c2e86da964452a1881c4ec (patch)
tree18cdeb7cb82ae95159929a9c8a48e4757bd94b2e /usr.bin/mandoc/man_term.c
parent958b00559d262343bd9376f34ccf52f5739345bd (diff)
strftime returns size_t, not a pointer; no functional change
ok kristaps@
Diffstat (limited to 'usr.bin/mandoc/man_term.c')
-rw-r--r--usr.bin/mandoc/man_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c
index 14e3875b55c..0d13cdde61a 100644
--- a/usr.bin/mandoc/man_term.c
+++ b/usr.bin/mandoc/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.2 2009/06/14 23:00:57 schwarze Exp $ */
+/* $Id: man_term.c,v 1.3 2009/06/17 22:27:34 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -441,7 +441,7 @@ print_foot(struct termp *p, const struct man_meta *meta)
tm = localtime(&meta->date);
- if (NULL == strftime(buf, p->rmargin, "%B %d, %Y", tm))
+ if (0 == strftime(buf, p->rmargin, "%B %d, %Y", tm))
err(1, "strftime");
term_vspace(p);