* dir.cc (closedir): Fix syscall_printf.
This commit is contained in:
parent
e0ec68e640
commit
54b302310e
|
@ -1,3 +1,7 @@
|
||||||
|
2012-10-26 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* dir.cc (closedir): Fix syscall_printf.
|
||||||
|
|
||||||
2012-10-26 Corinna Vinschen <corinna@vinschen.de>
|
2012-10-26 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* include/cygwin/signal.h (sigset_t): Define here.
|
* include/cygwin/signal.h (sigset_t): Define here.
|
||||||
|
|
|
@ -271,7 +271,7 @@ closedir (DIR *dir)
|
||||||
free (dir->__d_dirname);
|
free (dir->__d_dirname);
|
||||||
free (dir->__d_dirent);
|
free (dir->__d_dirent);
|
||||||
free (dir);
|
free (dir);
|
||||||
syscall_printf ("%R = closedir(%p)", res);
|
syscall_printf ("%R = closedir(%p)", res, dir);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue