mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Don't forget to initialize 'id' field.
MFC after: 3 days
This commit is contained in:
parent
08188342a3
commit
436b93a0dd
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue