From: наб Date: Wed, 27 Apr 2022 16:57:50 +0000 (+0200) Subject: refactor(dracut-install): strerror(errno) -> %m X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94dcac7ccdfeb2ff7bd7c59c0f8bf46d0698ce3f;p=thirdparty%2Fdracut.git refactor(dracut-install): strerror(errno) -> %m --- diff --git a/src/install/dracut-install.c b/src/install/dracut-install.c index 2d6d50143..dda0cacab 100644 --- a/src/install/dracut-install.c +++ b/src/install/dracut-install.c @@ -714,11 +714,11 @@ static int dracut_mkdir(const char *src) return 1; } } else if (errno != ENOENT) { - log_error("ERROR: stat '%s': %s", parent, strerror(errno)); + log_error("ERROR: stat '%s': %m", parent); return 1; } else { if (mkdir(parent, 0755) < 0) { - log_error("ERROR: mkdir '%s': %s", parent, strerror(errno)); + log_error("ERROR: mkdir '%s': %m", parent); return 1; } }