opendoas

my fork of doas with custom prompt
git clone git://git.kocotian.pl/opendoas.git
Log | Files | Refs | README | LICENSE

commit dbac3f3cfda4559cdf356313575fac33208afae7
parent 9d63eb3e713bfe178f79a111ff389b9c7020472c
Author: gsoares <gsoares@openbsd.org>
Date:   Wed, 30 Jan 2019 20:49:19 +0100

adjust yyerror() to precede with "progname: " the error message string
OK tedu@ phessler@

Diffstat:
Mparse.y | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/parse.y b/parse.y @@ -194,6 +194,7 @@ yyerror(const char *fmt, ...) { va_list va; + fprintf(stderr, "doas: "); va_start(va, fmt); vfprintf(stderr, fmt, va); va_end(va);