summaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-28 10:15:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-28 10:15:12 +0000
commit0e4f080bf713883177448a6da2569e86ddf857f0 (patch)
tree4a6e3082b6a89f21600f7f9c36f55e289f818c94 /main.c
parent9ee387650cc4fb799e45ab0bafc60ed8435543f0 (diff)
downloadmandoc-0e4f080bf713883177448a6da2569e86ddf857f0.tar.gz
mandoc-0e4f080bf713883177448a6da2569e86ddf857f0.tar.zst
mandoc-0e4f080bf713883177448a6da2569e86ddf857f0.zip
Fix in newline.
Correct printing of N-char predefined/special strings.
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index d2d5a869..9a52d807 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.40 2009/07/27 19:43:02 kristaps Exp $ */
+/* $Id: main.c,v 1.41 2009/07/28 10:15:12 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -418,7 +418,8 @@ fdesc(struct buf *blk, struct buf *ln, struct curparse *curp)
/* NOTE a parser may not have been assigned, yet. */
if ( ! (man || mdoc)) {
- (void)fprintf(stderr, "%s: not a manual", curp->file);
+ (void)fprintf(stderr, "%s: not a manual\n",
+ curp->file);
return(0);
}