summaryrefslogtreecommitdiffstats
path: root/sys/boot/ofw
diff options
context:
space:
mode:
authortsoome <tsoome@FreeBSD.org>2017-02-06 22:03:07 +0000
committertsoome <tsoome@FreeBSD.org>2017-02-06 22:03:07 +0000
commit006a0cfe945c637c15dd643888c8f6c8ae3127e9 (patch)
tree0692ec06cb70c32b853dcfb84df9b3f6f787b2d2 /sys/boot/ofw
parentc24e6785098821c4aaf0b543dc091bc2e4e67503 (diff)
downloadFreeBSD-src-006a0cfe945c637c15dd643888c8f6c8ae3127e9.zip
FreeBSD-src-006a0cfe945c637c15dd643888c8f6c8ae3127e9.tar.gz
MFC r309369,310850,310853:
libstand: dosfs cstyle cleanup for return keyword. dosfs support in libstand is broken since r298230 PR: 214423 Submitted by: Mikhail Kupchik Reported by: Mikhail Kupchik Approved by: imp (mentor)
Diffstat (limited to 'sys/boot/ofw')
-rw-r--r--sys/boot/ofw/libofw/ofw_disk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/ofw/libofw/ofw_disk.c b/sys/boot/ofw/libofw/ofw_disk.c
index 9c46ccc..9b2e11c 100644
--- a/sys/boot/ofw/libofw/ofw_disk.c
+++ b/sys/boot/ofw/libofw/ofw_disk.c
@@ -43,7 +43,7 @@ __FBSDID("$FreeBSD$");
static int ofwd_init(void);
static int ofwd_strategy(void *devdata, int flag, daddr_t dblk,
- size_t offset, size_t size, char *buf, size_t *rsize);
+ size_t size, char *buf, size_t *rsize);
static int ofwd_open(struct open_file *f, ...);
static int ofwd_close(struct open_file *f);
static int ofwd_ioctl(struct open_file *f, u_long cmd, void *data);
@@ -83,8 +83,8 @@ ofwd_init(void)
}
static int
-ofwd_strategy(void *devdata, int flag __unused, daddr_t dblk, size_t offset,
- size_t size, char *buf, size_t *rsize)
+ofwd_strategy(void *devdata, int flag __unused, daddr_t dblk, size_t size,
+ char *buf, size_t *rsize)
{
struct ofw_devdesc *dp = (struct ofw_devdesc *)devdata;
daddr_t pos;
OpenPOWER on IntegriCloud