This commit is contained in:
Brian Somers 1998-03-11 02:21:59 +00:00
parent fc1141b27b
commit 9364152520
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/cvs2svn/branches/MP/; revision=34481

View file

@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* $Id: modem.c,v 1.77.2.29 1998/03/09 19:24:57 brian Exp $
* $Id: modem.c,v 1.77.2.30 1998/03/10 03:05:44 brian Exp $
*
* TODO:
*/
@ -942,7 +942,7 @@ modem_ShowStatus(struct cmdargs const *arg)
#ifdef TIOCOUTQ
if (arg->cx->physical->fd >= 0)
if (ioctl(arg->cx->physical->fd, TIOCOUTQ, &nb) >= 0)
prompt_Printf(&prompt, "outq: %d\n", nb);
prompt_Printf(&prompt, "outq: %d\n", nb);
else
prompt_Printf(&prompt, "outq: ioctl probe failed: %s\n", strerror(errno));
#endif