diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-03-20 14:32:51 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-03-20 14:32:51 +0000 |
| commit | d50321fd3a718d85adc270190807ecc0675a4ec6 (patch) | |
| tree | e2807d8aa35e64c7701172e2d5ef33d95a227bc9 /sys/dev/syscons | |
| parent | 3e1720f5e038898ce9e03c854a08aca100b0908c (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons')
| -rw-r--r-- | sys/dev/syscons/teken/teken_subr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/teken/teken_subr.h b/sys/dev/syscons/teken/teken_subr.h index 0ad57f5bade42..21982e26d592a 100644 --- a/sys/dev/syscons/teken/teken_subr.h +++ b/sys/dev/syscons/teken/teken_subr.h @@ -38,7 +38,7 @@ teken_tab_isset(teken_t *t, unsigned int col) unsigned int b, o; if (col >= T_NUMCOL) - return ((col & 0x7) == 0); + return ((col % 8) == 0); b = col / (sizeof(unsigned int) * 8); o = col % (sizeof(unsigned int) * 8); |
