]> git.ipfire.org Git - thirdparty/kmod.git/commit
tools/static-nodes: don't use %m on mkdir_parents() 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)
commit077323d034a6bdb565ba2608472eb239db27ff59
treef8ef1f9ecd6e5d884484e96ef080796ddd2be119
parent994da3b8d2abb161ce218f1102f92357329111ff
tools/static-nodes: don't use %m on mkdir_parents() 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/static-nodes.c