diff options
author | Chris Johns <chrisj@rtems.org> | 2022-11-25 12:14:00 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2022-11-25 12:16:02 +1100 |
commit | 904a9112de96989cc258157ebfcfb493cb2b5b58 (patch) | |
tree | 46d429e7d750adea036e9b2d0be32ee5a80de4bd /cpukit/libmisc/shell/main_edit.c | |
parent | bsps/riscv: Simplify PLIC support (diff) | |
download | rtems-904a9112de96989cc258157ebfcfb493cb2b5b58.tar.bz2 |
libmisc/shell: Fix edit Coverity error
Coverity Id: CID 1517029, CID 1517030, CID 1517031
Diffstat (limited to '')
-rw-r--r-- | cpukit/libmisc/shell/main_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/main_edit.c b/cpukit/libmisc/shell/main_edit.c index 99871204b7..191eefa19d 100644 --- a/cpukit/libmisc/shell/main_edit.c +++ b/cpukit/libmisc/shell/main_edit.c @@ -757,7 +757,7 @@ static void get_console_size(struct env *env) { #elif defined(__rtems__) char* e; env->lines = 25; - env->lines = 80; + env->cols = 80; e = getenv("LINES"); if (e != NULL) { int lines = strtol(e, 0, 10); |