diff options
author | phk <phk@FreeBSD.org> | 2003-05-02 22:46:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-02 22:46:44 +0000 |
commit | 023c16ae05499e94a0507477d83a9218819371b6 (patch) | |
tree | 6d33b4d01ae461ca3a9f37b185d99fe6bcff3b98 /sbin/bsdlabel/bsdlabel.c | |
parent | 2a47b08091621c84d2d45229dcdb6753d5a56366 (diff) | |
download | FreeBSD-src-023c16ae05499e94a0507477d83a9218819371b6.zip FreeBSD-src-023c16ae05499e94a0507477d83a9218819371b6.tar.gz |
bsd_disklabel_le_dec() takes an extra argument now.
Diffstat (limited to 'sbin/bsdlabel/bsdlabel.c')
-rw-r--r-- | sbin/bsdlabel/bsdlabel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/bsdlabel/bsdlabel.c b/sbin/bsdlabel/bsdlabel.c index 2881a4d..50fb76d 100644 --- a/sbin/bsdlabel/bsdlabel.c +++ b/sbin/bsdlabel/bsdlabel.c @@ -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); } |