Fix build on some archs after r227464.
This commit is contained in:
parent
e481b86384
commit
1446ecce65
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227473
@ -133,7 +133,8 @@ mp_label(struct gctl_req *req)
|
|||||||
uint8_t *sector, *rsector;
|
uint8_t *sector, *rsector;
|
||||||
char *ptr;
|
char *ptr;
|
||||||
uuid_t uuid;
|
uuid_t uuid;
|
||||||
uint32_t secsize = 0, ssize, status;
|
ssize_t secsize = 0, ssize;
|
||||||
|
uint32_t status;
|
||||||
const char *name, *name2, *mpname;
|
const char *name, *name2, *mpname;
|
||||||
int error, i, nargs, fd;
|
int error, i, nargs, fd;
|
||||||
|
|
||||||
@ -161,8 +162,8 @@ mp_label(struct gctl_req *req)
|
|||||||
disksize = msize;
|
disksize = msize;
|
||||||
} else {
|
} else {
|
||||||
if (secsize != ssize) {
|
if (secsize != ssize) {
|
||||||
gctl_error(req, "%s sector size %u different.",
|
gctl_error(req, "%s sector size %ju different.",
|
||||||
name, ssize);
|
name, (intmax_t)ssize);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (disksize != msize) {
|
if (disksize != msize) {
|
||||||
|
Loading…
Reference in New Issue
Block a user