fix labels not applying

Signed-off-by: Daniel B. Hill <daniel@gluo.nz>
This commit is contained in:
Daniel B. Hill 2021-12-29 13:32:47 +13:00 committed by Kent Overstreet
parent 9cc3b7debb
commit a6390a8012

View File

@ -86,7 +86,7 @@ int cmd_device_add(int argc, char *argv[])
case 'D':
dev_opts.discard = true;
break;
case 'g':
case 'l':
dev_opts.label = strdup(optarg);
break;
case 'f':