summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh_netcmds.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-06 22:02:15 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-09-06 22:02:15 +0000
commita3479e9f7d97e024be0780d9714e03eb227e009d (patch)
treededae5c16c1ea466f72cbe4265c7366978390ca0 /nuttx/examples/nsh/nsh_netcmds.c
parent2939906ef52709a869fc46b289d0c0bffe9e8aba (diff)
downloadnuttx-a3479e9f7d97e024be0780d9714e03eb227e009d.tar.gz
nuttx-a3479e9f7d97e024be0780d9714e03eb227e009d.tar.bz2
nuttx-a3479e9f7d97e024be0780d9714e03eb227e009d.zip
Eliminate some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2926 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh/nsh_netcmds.c')
-rw-r--r--nuttx/examples/nsh/nsh_netcmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/examples/nsh/nsh_netcmds.c b/nuttx/examples/nsh/nsh_netcmds.c
index 306ab8232..e77fd7604 100644
--- a/nuttx/examples/nsh/nsh_netcmds.c
+++ b/nuttx/examples/nsh/nsh_netcmds.c
@@ -1,7 +1,7 @@
/****************************************************************************
* examples/nsh/nsh_netcmds.c
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -665,7 +665,7 @@ int cmd_wget(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
char *buffer = NULL;
char *fullpath = NULL;
char *url;
- char *fmt;
+ const char *fmt;
int option;
int fd = -1;
int ret;