diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-13 08:21:18 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-13 08:21:18 -0600 |
commit | df4d1ee71b6dd23755e23b95dc88898f0635816c (patch) | |
tree | c01b2a197960e45013e4c091ef2004332986d908 /apps/nshlib/nsh_dbgcmds.c | |
parent | e25eae1f17c966060e1087bd332e530ca6667a8d (diff) | |
download | px4-nuttx-df4d1ee71b6dd23755e23b95dc88898f0635816c.tar.gz px4-nuttx-df4d1ee71b6dd23755e23b95dc88898f0635816c.tar.bz2 px4-nuttx-df4d1ee71b6dd23755e23b95dc88898f0635816c.zip |
Cosmetic clean-up in preparation for TCP write buffering change
Diffstat (limited to 'apps/nshlib/nsh_dbgcmds.c')
-rw-r--r-- | apps/nshlib/nsh_dbgcmds.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_dbgcmds.c b/apps/nshlib/nsh_dbgcmds.c index 4b8646ef7..e0bf79de1 100644 --- a/apps/nshlib/nsh_dbgcmds.c +++ b/apps/nshlib/nsh_dbgcmds.c @@ -188,6 +188,7 @@ int cmd_mb(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) nsh_output(vtbl, "\n", *ptr); } } + return ret; } #endif @@ -241,6 +242,7 @@ int cmd_mh(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) nsh_output(vtbl, "\n", *ptr); } } + return ret; } #endif @@ -286,6 +288,7 @@ int cmd_mw(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) nsh_output(vtbl, "\n", *ptr); } } + return ret; } #endif @@ -327,6 +330,7 @@ void nsh_dumpbuffer(FAR struct nsh_vtbl_s *vtbl, const char *msg, sprintf(&line[strlen(line)], "%c", ch >= 0x20 && ch <= 0x7e ? ch : '.'); } } + nsh_output(vtbl, "%s\n", line); } } |