diff options
author | Sascha Hauer <sha@pengutronix.de> | 2009-10-17 09:58:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-10-19 10:18:51 +0200 |
commit | ac50a05cafdf21ade918e17a0e98649965293da1 (patch) | |
tree | 469ec91f3d0b3522e52673a0c5a9b67c3116e87d /commands/net.c | |
parent | 1d3d2c6369d4ccef4eff9e94f7925bc62221e29a (diff) | |
download | barebox-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/net.c')
-rw-r--r-- | commands/net.c | 8 |
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; } |