diff options
| author | Geert Uytterhoeven <[email protected]> | 2022-01-19 18:08:06 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-01-20 08:52:52 +0200 |
| commit | 153ee1c41a3ec707438ae0ca6b0061f72de334ef (patch) | |
| tree | 98a157e8d9e8471ba38f009a9add92e64c23620c /scripts/gdb/linux/slab.py | |
| parent | 51a18734402874382ccfab288342c72d7227e122 (diff) | |
sysctl: fix duplicate path separator in printed entries
sysctl_print_dir() always terminates the printed path name with a slash,
so printing a slash before the file part causes a duplicate like in
sysctl duplicate entry: /kernel//perf_user_access
Fix this by dropping the extra slash.
Link: https://lkml.kernel.org/r/e3054d605dc56f83971e4b6d2f5fa63a978720ad.1641551872.git.geert+renesas@glider.be
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Acked-by: Luis Chamberlain <[email protected]>
Cc: Iurii Zaikin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions