summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorSascha Hauer <sha@pengutronix.de>2009-10-17 09:58:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-10-19 10:18:51 +0200
commitac50a05cafdf21ade918e17a0e98649965293da1 (patch)
tree469ec91f3d0b3522e52673a0c5a9b67c3116e87d /commands
parent1d3d2c6369d4ccef4eff9e94f7925bc62221e29a (diff)
downloadbarebox-ac50a05cafdf21ade918e17a0e98649965293da1.tar.gz
barebox-ac50a05cafdf21ade918e17a0e98649965293da1.tar.xz
pass filename to nfs and tftp start functions
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r--commands/net.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/net.c b/commands/net.c
index 4bdccd3784..2b949f252c 100644
--- a/commands/net.c
+++ b/commands/net.c
@@ -160,8 +160,8 @@ U_BOOT_CMD_END
int net_store_fd;
-extern void TftpStart(void); /* Begin TFTP get */
-extern void NfsStart(void);
+extern void TftpStart(char *); /* Begin TFTP get */
+extern void NfsStart(char *);
static int
netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[])
@@ -196,10 +196,10 @@ netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[])
switch (proto) {
case TFTP:
- TftpStart();
+ TftpStart(remotefile);
break;
case NFS:
- NfsStart();
+ NfsStart(remotefile);
default:
break;
}