- Recognize the 'volume' parameter when creating a plex.

PR:		kern/75632
Approved by:	pjd (mentor)
MFC after:	1 day
This commit is contained in:
Ulf Lilleengen 2008-05-22 10:27:03 +00:00
parent c730aefff3
commit 4e70f1decf

View file

@ -525,7 +525,8 @@ gv_new_plex(int max, char *token[])
break;
}
p->state = gv_plexstatei(token[j]);
} else if (!strcmp(token[j], "vol")) {
} else if (!strcmp(token[j], "vol") ||
!strcmp(token[j], "volume")) {
j++;
if (j >= max) {
errors++;