Skip to content

Commit 144279a

Browse files
marcosfrmjohannbg
authored andcommitted
refactor(dracut-install): resolve_deps: improve error message
Prefix + error description at the end.
1 parent ba0d759 commit 144279a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/install/dracut-install.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ static int resolve_deps(const char *src)
528528
int fds[2];
529529
FILE *fptr;
530530
if (pipe2(fds, O_CLOEXEC) == -1 || (fptr = fdopen(fds[0], "r")) == NULL) {
531-
log_error("Error '%m' initiating pipe stream for %s", ldd);
531+
log_error("ERROR: pipe stream initialization for '%s' failed: %m", ldd);
532532
exit(EXIT_FAILURE);
533533
}
534534

0 commit comments

Comments
 (0)