bsd_disklabel_le_dec() takes an extra argument now.

This commit is contained in:
Poul-Henning Kamp 2003-05-02 22:46:44 +00:00
parent 56dde750d5
commit 204ae37859
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114557

View File

@ -413,7 +413,8 @@ readlabel(int f)
(void)lseek(f, (off_t)0, SEEK_SET);
if (read(f, bootarea, BBSIZE) < BBSIZE)
err(4, "%s", specname);
bsd_disklabel_le_dec((u_char *)bootarea + labeloffset, &lab);
bsd_disklabel_le_dec((u_char *)bootarea + labeloffset, &lab,
MAXPARTITIONS);
return (&lab);
}