summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/efi332/console
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-09-15 18:52:26 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-09-15 18:52:26 +0000
commit8f35817acfcaf88380c86413947cd1b167a5d1e8 (patch)
tree4f4310d1bfd69ae32ceb976e69ba444c118fefab /c/src/lib/libbsp/m68k/efi332/console
parent8d053460ffe4c68b70d0f50e9ac7912d1d0e7d47 (diff)
downloadrtems-8f35817acfcaf88380c86413947cd1b167a5d1e8.tar.bz2
eliminated potential for overfilling buffer on read
Diffstat (limited to 'c/src/lib/libbsp/m68k/efi332/console')
-rw-r--r--c/src/lib/libbsp/m68k/efi332/console/console.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/console/console.c b/c/src/lib/libbsp/m68k/efi332/console/console.c
index 0c5ebe0512..4d2dcdeef4 100644
--- a/c/src/lib/libbsp/m68k/efi332/console/console.c
+++ b/c/src/lib/libbsp/m68k/efi332/console/console.c
@@ -339,7 +339,6 @@ rtems_device_driver console_read(
buffer[ count ] = inbyte();
if (buffer[ count ] == '\n' || buffer[ count ] == '\r') {
buffer[ count++ ] = '\n';
- buffer[ count ] = 0;
break;
}
}