]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
refactor(dracut-install): resolve_deps: improve error message
authorMarcos Mello <marcosfrm@gmail.com>
Sat, 25 Jun 2022 01:16:36 +0000 (22:16 -0300)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Fri, 21 Oct 2022 23:27:01 +0000 (23:27 +0000)
Prefix + error description at the end.

src/install/dracut-install.c

index 63f4b950a81163f48e917a8bd208230a93cdf42f..96b20e916d358103bab367c6a1e581ae9b163d0c 100644 (file)
@@ -528,7 +528,7 @@ static int resolve_deps(const char *src)
         int fds[2];
         FILE *fptr;
         if (pipe2(fds, O_CLOEXEC) == -1 || (fptr = fdopen(fds[0], "r")) == NULL) {
-                log_error("Error '%m' initiating pipe stream for %s", ldd);
+                log_error("ERROR: pipe stream initialization for '%s' failed: %m", ldd);
                 exit(EXIT_FAILURE);
         }