Fix buildworld breakage due after r227464.
Pointy hat to: mav
This commit is contained in:
parent
574280af1a
commit
59cfaa640c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227471
@ -240,7 +240,7 @@ mp_label(struct gctl_req *req)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (pread(fd, rsector, secsize, disksize - secsize) !=
|
if (pread(fd, rsector, secsize, disksize - secsize) !=
|
||||||
secsize) {
|
(ssize_t)secsize) {
|
||||||
fprintf(stderr, "Unable to read metadata from %s: %s.\n",
|
fprintf(stderr, "Unable to read metadata from %s: %s.\n",
|
||||||
name2, strerror(errno));
|
name2, strerror(errno));
|
||||||
g_close(fd);
|
g_close(fd);
|
||||||
|
Loading…
Reference in New Issue
Block a user