summaryrefslogtreecommitdiff
path: root/nuttx/examples/nsh/nsh_netcmds.c
diff options
context:
space:
mode:
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;