From 21d498f695fa6d0cd97d833fe87f5b678bf09933 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 29 Oct 2014 10:48:50 -0600 Subject: [PATCH] Fix some typos --- nshlib/nsh_telnetd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_telnetd.c b/nshlib/nsh_telnetd.c index 05e1a731e..d76308f42 100644 --- a/nshlib/nsh_telnetd.c +++ b/nshlib/nsh_telnetd.c @@ -184,7 +184,7 @@ static nsh_telnettoken(FAR struct console_stdio_s *pstate, FAR char *buffer, /* Replace terminating character with a NUL terminator */ - *endp1 = '/0'; + *endp1 = '\0'; /* Copied the token into the buffer */