Commit ffea802f authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Need sizeof(gpart) not sizeof(part)

parent d8103f04
......@@ -2703,7 +2703,7 @@ void space_init_gparts(struct space *s, int verbose) {
if (s->nr_gparts > 0)
threadpool_map(&s->e->threadpool, space_init_gparts_mapper, s->gparts,
s->nr_gparts, sizeof(struct part), 0, NULL);
s->nr_gparts, sizeof(struct gpart), 0, NULL);
if (verbose)
message("took %.3f %s.", clocks_from_ticks(getticks() - tic),
clocks_getunit());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment