mirror of
https://github.com/SDL-Hercules-390/hyperion.git
synced 2026-04-20 18:57:06 +02:00
Fix web server segfault when displaying 3705s
This commit is contained in:
committed by
Fish (David B. Trout)
parent
152ed99a57
commit
76b31f5e21
@@ -1608,7 +1608,8 @@ static int commadpt_init_handler (DEVBLK *dev, int argc, char *argv[])
|
||||
static void commadpt_query_device (DEVBLK *dev, char **class,
|
||||
int buflen, char *buffer)
|
||||
{
|
||||
*class = "LINE";
|
||||
BEGIN_DEVICE_CLASS_QUERY( "LINE", dev, class, buflen, buffer );
|
||||
|
||||
snprintf(buffer,buflen-1,"Read count=%d, Write count=%d IO[%" I64_FMT "u]",
|
||||
dev->commadpt->read_ccw_count, dev->commadpt->write_ccw_count, dev->excps );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user