diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-27 17:25:45 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-05-27 17:25:45 +0000 |
commit | 288b1f91a21137cfa1307188e054ac4d13d30c9e (patch) | |
tree | 9493933384de381d7d59d3f3da31ccc484bfb9b0 /cpukit/libmisc | |
parent | 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-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')
-rw-r--r-- | cpukit/libmisc/shell/shell_getchar.c | 2 |
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) |