svn commit: r321848 - head/tools/tools/bootparttest
Ngie Cooper
ngie at FreeBSD.org
Tue Aug 1 05:26:46 UTC 2017
Author: ngie
Date: Tue Aug 1 05:26:45 2017
New Revision: 321848
URL: https://svnweb.freebsd.org/changeset/base/321848
Log:
Chase r315408 with the fourth parameter being removed from disk_open(..)
This fixes one part of the build.
Modified:
head/tools/tools/bootparttest/bootparttest.c
Modified: head/tools/tools/bootparttest/bootparttest.c
==============================================================================
--- head/tools/tools/bootparttest/bootparttest.c Tue Aug 1 05:26:30 2017 (r321847)
+++ head/tools/tools/bootparttest/bootparttest.c Tue Aug 1 05:26:45 2017 (r321848)
@@ -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);
More information about the svn-src-all
mailing list