aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-08-01 05:26:45 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-08-01 05:26:45 +0000
commitd96899bad03e818baef86f294c772f9011fbb3eb (patch)
tree4fb2eedb3b1925f8a3c648994bc1a706c20be902 /tools
parent2375aaa8e954bb5b62fa41129a649db026b149b9 (diff)
downloadsrc-d96899bad03e818baef86f294c772f9011fbb3eb.tar.gz
src-d96899bad03e818baef86f294c772f9011fbb3eb.zip
Chase r315408 with the fourth parameter being removed from disk_open(..)
This fixes one part of the build.
Notes
Notes: svn path=/head/; revision=321848
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/bootparttest/bootparttest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/bootparttest/bootparttest.c b/tools/tools/bootparttest/bootparttest.c
index 0987652d4d37..82e991c6776e 100644
--- a/tools/tools/bootparttest/bootparttest.c
+++ b/tools/tools/bootparttest/bootparttest.c
@@ -124,7 +124,7 @@ main(int argc, char **argv)
printf("Mediasize: %ju Bytes (%ju sectors)\nSectorsize: %u Bytes\n",
disk.mediasize, disk.mediasize / disk.sectorsize, disk.sectorsize);
- if (disk_open(&dev, disk.mediasize, disk.sectorsize, 0) != 0)
+ if (disk_open(&dev, disk.mediasize, disk.sectorsize) != 0)
errx(1, "disk_open failed");
printf("\tdisk0:\n");
disk_print(&dev, "\tdisk0", 1);