summaryrefslogtreecommitdiff
path: root/apps/examples
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-24 07:21:56 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-24 07:21:56 -0600
commit08f190c7ebb67f1b034fc39b393351de47b53a13 (patch)
tree246dfd90d24bdc80c1e2cdd295d0fa308e482e3c /apps/examples
parentc4c5e3cee054900b6b9d7474b70904958391997c (diff)
downloadnuttx-08f190c7ebb67f1b034fc39b393351de47b53a13.tar.gz
nuttx-08f190c7ebb67f1b034fc39b393351de47b53a13.tar.bz2
nuttx-08f190c7ebb67f1b034fc39b393351de47b53a13.zip
Telnetd: Missing argument in debug statement can cause crash in certain error conditions. From David Sidrane
Diffstat (limited to 'apps/examples')
-rw-r--r--apps/examples/cc3000/telnetd_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/cc3000/telnetd_driver.c b/apps/examples/cc3000/telnetd_driver.c
index c7d5c86ca..865dba1d3 100644
--- a/apps/examples/cc3000/telnetd_driver.c
+++ b/apps/examples/cc3000/telnetd_driver.c
@@ -504,7 +504,7 @@ static int telnetd_close(FAR struct file *filep)
ret = unregister_driver(devpath);
if (ret < 0)
{
- nlldbg("Failed to unregister the driver %s: %d\n", ret);
+ nlldbg("Failed to unregister the driver %s: %d\n", devpath, ret);
}
free(devpath);