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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"