From f482e9423c7e79c132deca43c90338d8f796863a Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 21 Jun 2014 22:24:01 +0000 Subject: Reduce the verbosity of error messages caused by open(2) failures. Suggested by and ok jmc@. --- read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'read.c') 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 * Copyright (c) 2010-2014 Ingo Schwarze @@ -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", }; -- cgit v1.2.3