diff options
Diffstat (limited to 'gendepslist2.cc')
-rw-r--r-- | gendepslist2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gendepslist2.cc b/gendepslist2.cc index aed37ae..f132dd2 100644 --- a/gendepslist2.cc +++ b/gendepslist2.cc @@ -382,7 +382,7 @@ void hdlists(void (*f)(FD_t, int), const char *file, int current_hdlist) { f(fdDup(fileno(pipe)), current_hdlist); - if (fclose(pipe) != 0) { + if (pclose(pipe) != 0) { cerr << "bad hdlist " << file << "\n"; exit(1); } |