summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/lib/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/uboot/lib/disk.c')
-rw-r--r--sys/boot/uboot/lib/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/uboot/lib/disk.c b/sys/boot/uboot/lib/disk.c
index 5dc9a5a..e861bc0 100644
--- a/sys/boot/uboot/lib/disk.c
+++ b/sys/boot/uboot/lib/disk.c
@@ -205,7 +205,7 @@ stor_opendev(struct disk_devdesc *dev)
SI(dev).opened++;
}
return (disk_open(dev, SI(dev).blocks * SI(dev).bsize,
- SI(dev).bsize));
+ SI(dev).bsize, 0));
}
static int
OpenPOWER on IntegriCloud