]> sourceware.org Git - newlib-cygwin.git/commitdiff
* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
authorChristopher Faylor <me@cgf.cx>
Mon, 5 Nov 2001 02:45:42 +0000 (02:45 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 5 Nov 2001 02:45:42 +0000 (02:45 +0000)
incorrect parameter placement.

winsup/cygwin/ChangeLog
winsup/cygwin/dtable.cc

index 3c1119707366143eebe97902bb75e36becbe1123..1949c5af375560994e6b6ef8912b5440d61b591e 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-04  Christopher Faylor  <cgf@redhat.com>
+
+       * dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV
+       due to incorrect parameter placement.
+
 2001-11-04  Christopher Faylor  <cgf@redhat.com>
 
        * fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.
index e3b191788f298eb5afe6a6f64489ca678a120faa..389afeeb145bc454402685cf71852900d33de91b 100644 (file)
@@ -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;
 }
 
This page took 0.039207 seconds and 5 git commands to generate.