aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-06-21 22:24:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-06-21 22:24:01 +0000
commitf482e9423c7e79c132deca43c90338d8f796863a (patch)
tree4268885a2e86381fa5f2a2df298bc708a092885c /read.c
parent14c8608a890987528106ea7f2b17fee1ee6a7d12 (diff)
downloadmandoc-f482e9423c7e79c132deca43c90338d8f796863a.tar.gz
mandoc-f482e9423c7e79c132deca43c90338d8f796863a.tar.zst
mandoc-f482e9423c7e79c132deca43c90338d8f796863a.zip
Reduce the verbosity of error messages caused by open(2) failures.
Suggested by and ok jmc@.
Diffstat (limited to 'read.c')
-rw-r--r--read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/read.c b/read.c
index b47c5e10..22446046 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.50 2014/06/20 23:02:31 schwarze Exp $ */
+/* $Id: read.c,v 1.51 2014/06/21 22:24:01 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -210,7 +210,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"static buffer exhausted",
/* system errors */
- "cannot open file",
+ NULL,
"cannot stat file",
"cannot read file",
};