summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-socfpga/generic.c')
-rw-r--r--arch/arm/mach-socfpga/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/generic.c b/arch/arm/mach-socfpga/generic.c
index 0d958d23af..62593549d6 100644
--- a/arch/arm/mach-socfpga/generic.c
+++ b/arch/arm/mach-socfpga/generic.c
@@ -97,7 +97,7 @@ static int socfpga_env_init(void)
}
mkdir("/boot", 0666);
- ret = mount(partname, "fat", "/boot");
+ ret = mount(partname, "fat", "/boot", NULL);
if (ret) {
printf("failed to mount %s\n", diskdev);
goto out_free;