summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class/raid3
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/geom/class/raid3')
-rw-r--r--sbin/geom/class/raid3/geom_raid3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/geom/class/raid3/geom_raid3.c b/sbin/geom/class/raid3/geom_raid3.c
index f6967aa..bef8424 100644
--- a/sbin/geom/class/raid3/geom_raid3.c
+++ b/sbin/geom/class/raid3/geom_raid3.c
@@ -173,6 +173,7 @@ raid3_label(struct gctl_req *req)
return;
}
strlcpy(md.md_name, str, sizeof(md.md_name));
+ md.md_id = arc4random();
md.md_all = *nargs - 1;
md.md_mflags = 0;
md.md_dflags = 0;
OpenPOWER on IntegriCloud