Commit a14ab9f
tools/power turbostat: Fix child's argument forwarding
[ Upstream commit 1da0daf ]
Add '+' to optstring when early scanning for --no-msr and --no-perf.
It causes option processing to stop as soon as a nonoption argument is
encountered, effectively skipping child's arguments.
Fixes: 3e40484 ("tools/power turbostat: Add --no-msr option")
Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent a109b53 commit a14ab9f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9784 | 9784 | | |
9785 | 9785 | | |
9786 | 9786 | | |
9787 | | - | |
| 9787 | + | |
9788 | 9788 | | |
9789 | 9789 | | |
9790 | 9790 | | |
| |||
0 commit comments