Fix shadowed variable hidden by WARNS changing to 3 in r313006.

Sponsored by:	Dell EMC Isilon
MFC after:	1 week
This commit is contained in:
Bryan Drewery 2017-10-12 19:58:21 +00:00
parent cf62459c35
commit 9643739121

View File

@ -3084,7 +3084,7 @@ ATF_TC_BODY(ptrace__PT_ATTACH_with_SBDRY_thread, tc)
ATF_REQUIRE((child = fork()) != -1);
if (child == 0) {
pthread_t t[2];
int error, cfd;
int cfd;
error = pthread_barrier_wait(&barrier);
if (error != 0 && error != PTHREAD_BARRIER_SERIAL_THREAD)