Commit 0b53ec8
committed
nvme: use correct parser type for nvmsetid and endgid option
nvmsetid and endgid are both shorts, thus the OPT_SHRT parser
type needs to be used. Otherwise the result is written to the wrong
memory location.
Fixes: 972effd ("nvme.c: create-ns arguments are added")
Signed-off-by: Daniel Wagner <[email protected]>1 parent 48ff213 commit 0b53ec8
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3191 | 3191 | | |
3192 | 3192 | | |
3193 | 3193 | | |
3194 | | - | |
3195 | | - | |
| 3194 | + | |
| 3195 | + | |
3196 | 3196 | | |
3197 | 3197 | | |
3198 | 3198 | | |
| |||
0 commit comments