diff options
author | eadler <eadler@FreeBSD.org> | 2011-12-05 04:20:13 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2011-12-05 04:20:13 +0000 |
commit | 246d7a1ca3b2d844382a497b9f958e11bfac7ee5 (patch) | |
tree | 7db5288b0139ef540265bf693cd8d03b11f09987 /tools/regression/pipe/pipe-fstatbug.c | |
parent | fca06ad67bd9a6a9d8d58bdc34b1fde7292cce4d (diff) | |
download | FreeBSD-src-246d7a1ca3b2d844382a497b9f958e11bfac7ee5.zip FreeBSD-src-246d7a1ca3b2d844382a497b9f958e11bfac7ee5.tar.gz |
Fix some uninitialized variables in pipe regression tests that result in
failure.
PR: misc/161175
Submitted by: gianni@
Approved by: nwhitehorn@
MFC after: 1 week
Diffstat (limited to 'tools/regression/pipe/pipe-fstatbug.c')
-rw-r--r-- | tools/regression/pipe/pipe-fstatbug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/pipe/pipe-fstatbug.c b/tools/regression/pipe/pipe-fstatbug.c index ed038c2..724c2d8 100644 --- a/tools/regression/pipe/pipe-fstatbug.c +++ b/tools/regression/pipe/pipe-fstatbug.c @@ -41,7 +41,7 @@ int main (void) { char buffer[32768], buffer2[32768]; int desc[2]; -int error, successes; +int error, successes = 0; struct stat status; pid_t new_pid; |