* dtable.cc (dtable::build_fhandler): Fix debug_printf to avoid SEGV due to
incorrect parameter placement.
This commit is contained in:
parent
e25e893d6b
commit
58eac090a3
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue