diff options
-rw-r--r-- | cpukit/libmisc/shell/main_medit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libmisc/shell/main_medit.c b/cpukit/libmisc/shell/main_medit.c index 2e590d4982..99995c8410 100644 --- a/cpukit/libmisc/shell/main_medit.c +++ b/cpukit/libmisc/shell/main_medit.c @@ -8,8 +8,6 @@ * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * - * $Id$ */ #ifdef HAVE_CONFIG_H @@ -42,7 +40,7 @@ int rtems_shell_main_medit( pb = (unsigned char*)rtems_shell_str2int(argv[1]); i = 2; n = 0; - while (i<=argc) { + while (i<argc) { pb[n++] = rtems_shell_str2int(argv[i++]) % 0x100; } |