Fix buildworld breakage due after r227464.
Pointy hat to: mav
This commit is contained in:
parent
7b2871f947
commit
9e74124500
@ -240,7 +240,7 @@ mp_label(struct gctl_req *req)
|
||||
continue;
|
||||
}
|
||||
if (pread(fd, rsector, secsize, disksize - secsize) !=
|
||||
secsize) {
|
||||
(ssize_t)secsize) {
|
||||
fprintf(stderr, "Unable to read metadata from %s: %s.\n",
|
||||
name2, strerror(errno));
|
||||
g_close(fd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user