]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools/depmod: don't use %m on mkdir_p() failure
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 4 Jun 2025 16:16:25 +0000 (17:16 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 11 Jun 2025 13:03:26 +0000 (08:03 -0500)
commit5c226b6fa0da0284d675bd1ae96b12c0b88e2eae
treef9b7162705f61804d14747059ba9f09d6dacc859
parent137e47880f3c8ac7c5b687442d3548eab2fa381b
tools/depmod: don't use %m on mkdir_p() failure

The function returns the error code itself, so we should be using
strerror(-err) instead.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/368
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/depmod.c