1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

wmesg was too long (>7), fixed

This commit is contained in:
Andrey A. Chernov 1993-11-29 19:26:32 +00:00
parent 97751a63e2
commit b4afc64b0b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=809
2 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@
* v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993
* modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su>
*
* $Id: spkr.c,v 1.4 1993/11/09 02:32:30 ache Exp $
* $Id: spkr.c,v 1.5 1993/11/15 01:33:11 ache Exp $
*/
#include "speaker.h"
@ -89,7 +89,7 @@ unsigned int thz, ticks;
* emitted.
*/
while ((error = tsleep((caddr_t)&endtone,
SPKRPRI | PCATCH, "spkrtone", ticks)) == ERESTART)
SPKRPRI | PCATCH, "spkrtn", ticks)) == ERESTART)
;
outb(PPI, inb(PPI) & ~PPI_SPKR);
@ -112,7 +112,7 @@ int ticks;
(void) printf("rest: %d\n", ticks);
#endif /* DEBUG */
while ((error = tsleep((caddr_t)&endrest,
SPKRPRI | PCATCH, "spkrrest", ticks)) == ERESTART)
SPKRPRI | PCATCH, "spkrrs", ticks)) == ERESTART)
;
if (error == EWOULDBLOCK)
error = 0;

View File

@ -4,7 +4,7 @@
* v1.4 by Eric S. Raymond (esr@snark.thyrsus.com) Aug 1993
* modified for FreeBSD by Andrew A. Chernov <ache@astral.msk.su>
*
* $Id: spkr.c,v 1.4 1993/11/09 02:32:30 ache Exp $
* $Id: spkr.c,v 1.5 1993/11/15 01:33:11 ache Exp $
*/
#include "speaker.h"
@ -89,7 +89,7 @@ unsigned int thz, ticks;
* emitted.
*/
while ((error = tsleep((caddr_t)&endtone,
SPKRPRI | PCATCH, "spkrtone", ticks)) == ERESTART)
SPKRPRI | PCATCH, "spkrtn", ticks)) == ERESTART)
;
outb(PPI, inb(PPI) & ~PPI_SPKR);
@ -112,7 +112,7 @@ int ticks;
(void) printf("rest: %d\n", ticks);
#endif /* DEBUG */
while ((error = tsleep((caddr_t)&endrest,
SPKRPRI | PCATCH, "spkrrest", ticks)) == ERESTART)
SPKRPRI | PCATCH, "spkrrs", ticks)) == ERESTART)
;
if (error == EWOULDBLOCK)
error = 0;