diff options
author | brucec <brucec@FreeBSD.org> | 2010-11-09 10:59:09 +0000 |
---|---|---|
committer | brucec <brucec@FreeBSD.org> | 2010-11-09 10:59:09 +0000 |
commit | 696c4e1f9bb4cd204d25faf22eb312c82fe3ad48 (patch) | |
tree | de27851d14573db38e387b4520440178ecc95fa9 /sys/dev/syscons | |
parent | 95d0fe5a467ecc88abd03b0dc9f03c79ac39bc2a (diff) | |
download | FreeBSD-src-696c4e1f9bb4cd204d25faf22eb312c82fe3ad48.zip FreeBSD-src-696c4e1f9bb4cd204d25faf22eb312c82fe3ad48.tar.gz |
Fix typos.
PR: bin/148894
Submitted by: olgeni
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r-- | sys/dev/syscons/schistory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/syscons/schistory.c b/sys/dev/syscons/schistory.c index 860367b..c4c95cd 100644 --- a/sys/dev/syscons/schistory.c +++ b/sys/dev/syscons/schistory.c @@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$"); /* * XXX Placeholder. - * This calculations should be dynamically scaled by number of seperate sc + * This calculations should be dynamically scaled by number of separate sc * devices. A base value of 'extra_history_size' should be defined for * each syscons unit, and added and subtracted from the dynamic * 'extra_history_size' as units are added and removed. This way, each time @@ -86,7 +86,7 @@ int sc_alloc_history_buffer(scr_stat *scp, int lines, int prev_ysize, int wait) { /* - * syscons unconditionally allocates buffers upto + * syscons unconditionally allocates buffers up to * SC_HISTORY_SIZE lines or scp->ysize lines, whichever * is larger. A value greater than that is allowed, * subject to extra_history_size. @@ -116,7 +116,7 @@ sc_alloc_history_buffer(scr_stat *scp, int lines, int prev_ysize, int wait) delta = cur_lines - min_lines; } - /* lines upto min_lines are always allowed. */ + /* lines up to min_lines are always allowed. */ min_lines = imax(SC_HISTORY_SIZE, scp->ysize); if (lines > min_lines) { if (lines - min_lines > extra_history_size + delta) { |