am 60a6ff79: am c3b25b1b: Merge "ext4_utils: fix segfault on error opening output file"
* commit '60a6ff79478f273b4f7eafbba6fc74eab0563f03':
ext4_utils: fix segfault on error opening output file
diff --git a/ext4_utils/make_ext4fs_main.c b/ext4_utils/make_ext4fs_main.c
index 8381f20..3f6d35b 100644
--- a/ext4_utils/make_ext4fs_main.c
+++ b/ext4_utils/make_ext4fs_main.c
@@ -180,7 +180,7 @@
if (strcmp(filename, "-")) {
fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
if (fd < 0) {
- error_errno("open");
+ perror("open");
return EXIT_FAILURE;
}
} else {