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