Messages in this thread | | | Date | Tue, 11 Jan 2022 10:04:42 -0800 | From | Luis Chamberlain <> | Subject | Re: [PATCH] sysctl: Fix duplicate path separator in printed entries |
| |
On Fri, Jan 07, 2022 at 11:38:44AM +0100, Geert Uytterhoeven wrote: > 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. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Luis
| |