* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to

incorrect parameter placement.
This commit is contained in:
Christopher Faylor 2001-11-05 02:45:42 +00:00
parent e25e893d6b
commit 58eac090a3
2 changed files with 6 additions and 1 deletions

View 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> 2001-11-04 Christopher Faylor <cgf@redhat.com>
* fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof. * fhandler.h (fhandler_pipe::broken_pipe): Renamed from saweof.

View File

@ -329,7 +329,7 @@ dtable::build_fhandler (int fd, DWORD dev, const char *name, int unit)
fh = NULL; 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; return fd >= 0 ? (fds[fd] = fh) : fh;
} }