summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dtable.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-05 02:45:42 +0000
committerChristopher Faylor <me@cgf.cx>2001-11-05 02:45:42 +0000
commit58eac090a3a948a9bcf57ec1b5e37cb407a20b85 (patch)
tree27a1bbb110258f8cf8dff161fc988aa0d3793a90 /winsup/cygwin/dtable.cc
parente25e893d6b13fdb6c8af1aee7644cf54cad16623 (diff)
downloadcygnal-58eac090a3a948a9bcf57ec1b5e37cb407a20b85.tar.gz
cygnal-58eac090a3a948a9bcf57ec1b5e37cb407a20b85.tar.bz2
cygnal-58eac090a3a948a9bcf57ec1b5e37cb407a20b85.zip
* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
incorrect parameter placement.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index e3b191788..389afeeb1 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -329,7 +329,7 @@ dtable::build_fhandler (int fd, DWORD dev, const char *name, int unit)
fh = NULL;
}
- debug_printf ("%s - fd %d, fh %p", fd, fh);
+ debug_printf ("fd %d, fh %p", fd, fh);
return fd >= 0 ? (fds[fd] = fh) : fh;
}