From 8f5752c5ca8f22ed122f84ebc73991e18edb8253 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 29 Oct 2014 10:48:50 -0600 Subject: Fix some typos --- apps/nshlib/nsh_telnetd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/nshlib/nsh_telnetd.c') 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 */ -- cgit v1.2.3