Date: Sat, 1 Mar 2008 00:02:12 +0000 (UTC) From: Sean Farley <scf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/regression/environ envctl.c Message-ID: <200803010002.m2102D7n018356@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
scf 2008-03-01 00:02:12 UTC FreeBSD src repository Modified files: tools/regression/environ envctl.c Log: Remove a dereference. It was unintended and a no-op. Use the correct value of errno. Although the errno value passed into printf() follows the *env() call, it is not guaranteed to be the errno from that call. When I wrote the regression tester, the environment I used did pass the errno from the call. Consolidate the print for the return code and errno into a function in the process of fixing this. Approved by: wes (mentor) Revision Changes Path 1.3 +30 -20 src/tools/regression/environ/envctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803010002.m2102D7n018356>