cvs commit: src/sys/dev/zs zs.c
Thomas Moestl
tmm at FreeBSD.org
Fri Jul 4 18:31:32 PDT 2003
tmm 2003/07/04 18:31:31 PDT
FreeBSD src repository
Modified files:
sys/dev/zs zs.c
Log:
Fix a signedness problem in zstty_cncheckc(): when no character is ready,
-1 should be returned, but it was assigned to an uint8_t (which is
extended to an int to form the return value), causing 255 to be returned
instead.
Revision Changes Path
1.12 +1 -1 src/sys/dev/zs/zs.c
More information about the cvs-src
mailing list