From f97f4b6571d1297973f08b9f921778e0b2e7f064 Mon Sep 17 00:00:00 2001 From: Uwe Kleine-König Date: Fri, 7 Feb 2014 22:28:12 +0100 Subject: mount: support filesystem options passed via -o MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similar to mount(8) the barebox command mount now supports passing a string to the file system driver via -o. This is used in the next commit to let the user specify port numbers for nfs mounts. Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- commands/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/tftp.c') diff --git a/commands/tftp.c b/commands/tftp.c index c83d1740e2..64cab2f045 100644 --- a/commands/tftp.c +++ b/commands/tftp.c @@ -72,7 +72,7 @@ static int do_tftpb(int argc, char *argv[]) goto err_free; ip = net_get_serverip(); - ret = mount(ip_to_string(ip), "tftp", TFTP_MOUNT_PATH); + ret = mount(ip_to_string(ip), "tftp", TFTP_MOUNT_PATH, NULL); if (ret) goto err_rmdir; -- cgit v1.2.3