summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shell_getchar.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-27 17:25:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-27 17:25:45 +0000
commit288b1f91a21137cfa1307188e054ac4d13d30c9e (patch)
tree9493933384de381d7d59d3f3da31ccc484bfb9b0 /cpukit/libmisc/shell/shell_getchar.c
parent2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-288b1f91a21137cfa1307188e054ac4d13d30c9e.tar.bz2
2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_getchar.c: Minor change so dropping connection while at prompt results in shell logging out and connection still being available.
Diffstat (limited to 'cpukit/libmisc/shell/shell_getchar.c')
-rw-r--r--cpukit/libmisc/shell/shell_getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libmisc/shell/shell_getchar.c b/cpukit/libmisc/shell/shell_getchar.c
index c08a8bfa90..53b80dd953 100644
--- a/cpukit/libmisc/shell/shell_getchar.c
+++ b/cpukit/libmisc/shell/shell_getchar.c
@@ -123,7 +123,7 @@ rtems_shell_getchar (FILE *in)
struct translation_table *translation = 0;
for (;;)
{
- char c = fgetc (in);
+ int c = fgetc (in);
if (c == EOF)
return EOF;
if (c == 27)