forked from Imagelibrary/rtems
libmisc/shell: Fix edit Coverity error
Coverity Id: CID 1517029, CID 1517030, CID 1517031
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user