summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_process.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-01-04 03:43:55 +0000
committerChristopher Faylor <me@cgf.cx>2006-01-04 03:43:55 +0000
commit4c15746236d2fe169d795eca57a8a73f0e8fd096 (patch)
tree7488e204907f1fd221c26123d4ebee3625200dcd /winsup/cygwin/fhandler_process.cc
parenta4b5f2b383d864d6f7671a42b4c5a892199fb689 (diff)
downloadcygnal-4c15746236d2fe169d795eca57a8a73f0e8fd096.tar.gz
cygnal-4c15746236d2fe169d795eca57a8a73f0e8fd096.tar.bz2
cygnal-4c15746236d2fe169d795eca57a8a73f0e8fd096.zip
* fhandler_process.cc (fhandler_process::readdir): Add missing argument to
syscall_printf. * fhandler_console.cc (fhandler_console::need_invisible): Use made-up name for windows station rather than asking Windows to create one for us. * spawn.cc (spawn_guts): Don't mess with console if we're detaching.
Diffstat (limited to 'winsup/cygwin/fhandler_process.cc')
-rw-r--r--winsup/cygwin/fhandler_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc
index 253bd4dd9..cb7d9072d 100644
--- a/winsup/cygwin/fhandler_process.cc
+++ b/winsup/cygwin/fhandler_process.cc
@@ -229,7 +229,7 @@ fhandler_process::readdir (DIR *dir, dirent *de)
strcpy (de->d_name, process_listing[dir->__d_position++]);
res = 0;
out:
- syscall_printf ("%d = readdir (%p, %p) (%s)", dir, de, de->d_name);
+ syscall_printf ("%d = readdir (%p, %p) (%s)", res, dir, de, de->d_name);
return res;
}