diff options
Diffstat (limited to 'apps/nshlib/nsh_netcmds.c')
-rw-r--r-- | apps/nshlib/nsh_netcmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_netcmds.c b/apps/nshlib/nsh_netcmds.c index f7cd9dc90..798879b55 100644 --- a/apps/nshlib/nsh_netcmds.c +++ b/apps/nshlib/nsh_netcmds.c @@ -504,7 +504,7 @@ int cmd_get(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) /* Get the full path to the local file */ - fullpath = nsh_getfullpath(vtbl, args.srcpath); + fullpath = nsh_getfullpath(vtbl, args.destpath); /* Then perform the TFTP get operation */ |