Date: Sun, 6 Nov 2016 00:35:43 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r308357 - stable/11/usr.bin/mkcsmapper Message-ID: <201611060035.uA60ZhQ1067976@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun Nov 6 00:35:43 2016 New Revision: 308357 URL: https://svnweb.freebsd.org/changeset/base/308357 Log: MFC: r302481 Revert the change from errx/strerror to errc to appease gcc 4.2 I have forgotten this part in r307794 Reported by: lidl Modified: stable/11/usr.bin/mkcsmapper/yacc.y Directory Properties: stable/11/ (props changed) Modified: stable/11/usr.bin/mkcsmapper/yacc.y ============================================================================== --- stable/11/usr.bin/mkcsmapper/yacc.y Sat Nov 5 23:21:30 2016 (r308356) +++ stable/11/usr.bin/mkcsmapper/yacc.y Sun Nov 6 00:35:43 2016 (r308357) @@ -664,7 +664,7 @@ do_mkpv(FILE *in) if (ret && output) unlink(output); /* dump failure */ if (ret) - errc(EXIT_FAILURE, ret, ""); + errx(EXIT_FAILURE, "%s\n", strerror(ret)); } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611060035.uA60ZhQ1067976>