Chase r315408 with the fourth parameter being removed from disk_open(..)

This fixes one part of the build.
This commit is contained in:
Enji Cooper 2017-08-01 05:26:45 +00:00
parent 2375aaa8e9
commit d96899bad0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321848

View File

@ -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);