diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-04-04 12:10:04 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-04-04 12:10:04 +0000 |
commit | 8543efae6015974dcacfb2100e2ce0f94b0bae7d (patch) | |
tree | 392c26d8c23ae197134296d8098c7c777f11cea0 /sys/ddb/db_input.c | |
parent | e8c7f48855facb2a75fddf8fc3483518d6037d67 (diff) | |
download | src-8543efae6015974dcacfb2100e2ce0f94b0bae7d.tar.gz src-8543efae6015974dcacfb2100e2ce0f94b0bae7d.zip |
Notes
Diffstat (limited to 'sys/ddb/db_input.c')
-rw-r--r-- | sys/ddb/db_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_input.c b/sys/ddb/db_input.c index d9578d86509b..97f5980d90e8 100644 --- a/sys/ddb/db_input.c +++ b/sys/ddb/db_input.c @@ -329,8 +329,8 @@ db_readline(lstart, lsize) /* Maintain input line history for non-empty lines. */ if (++db_lhistidx == db_lhist_nlines) { /* Rotate history. */ - ovbcopy(db_lhistory + db_lhistlsize, db_lhistory, - db_lhistlsize * (db_lhist_nlines - 1)); + bcopy(db_lhistory + db_lhistlsize, db_lhistory, + db_lhistlsize * (db_lhist_nlines - 1)); db_lhistidx--; } bcopy(lstart, db_lhistory + db_lhistidx * db_lhistlsize, |