summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh_telnetd.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-10-29 10:48:50 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-10-29 10:48:50 -0600
commit8f5752c5ca8f22ed122f84ebc73991e18edb8253 (patch)
treef8455cd002237a67e8e5c7a59c1162ef9ee99faf /apps/nshlib/nsh_telnetd.c
parent3523d471382838760c7548fe9160a7312e084ce8 (diff)
downloadnuttx-8f5752c5ca8f22ed122f84ebc73991e18edb8253.tar.gz
nuttx-8f5752c5ca8f22ed122f84ebc73991e18edb8253.tar.bz2
nuttx-8f5752c5ca8f22ed122f84ebc73991e18edb8253.zip
Fix some typos
Diffstat (limited to 'apps/nshlib/nsh_telnetd.c')
-rw-r--r--apps/nshlib/nsh_telnetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_telnetd.c b/apps/nshlib/nsh_telnetd.c
index 05e1a731e..d76308f42 100644
--- a/apps/nshlib/nsh_telnetd.c
+++ b/apps/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 */