From 54b302310e99e1b38755faa108af1305ae3e2714 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 26 Oct 2012 15:12:14 +0000 Subject: [PATCH] * dir.cc (closedir): Fix syscall_printf. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/dir.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f9192eda8..b8f659db8 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2012-10-26 Corinna Vinschen + + * dir.cc (closedir): Fix syscall_printf. + 2012-10-26 Corinna Vinschen * include/cygwin/signal.h (sigset_t): Define here. diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index 5ecd0a6d7..5dc23678c 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -271,7 +271,7 @@ closedir (DIR *dir) free (dir->__d_dirname); free (dir->__d_dirent); free (dir); - syscall_printf ("%R = closedir(%p)", res); + syscall_printf ("%R = closedir(%p)", res, dir); return res; }