mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-24 10:44:53 +00:00
Cosmetic
This commit is contained in:
parent
fc1141b27b
commit
9364152520
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/cvs2svn/branches/MP/; revision=34481
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue