summaryrefslogtreecommitdiff
path: root/system/cryptsetup/flush-stdout.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 01:32:01 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 01:32:01 -0500
commit49602ddb82f87067bbb945fc2a814a8eb6d6aabe (patch)
tree0524512569f92575e5f0a1e0dd8ba9dce7f9f344 /system/cryptsetup/flush-stdout.patch
parentf989818e7ce43d52d578ff60b0f20026045b4cbc (diff)
downloadpackages-49602ddb82f87067bbb945fc2a814a8eb6d6aabe.tar.gz
packages-49602ddb82f87067bbb945fc2a814a8eb6d6aabe.tar.bz2
packages-49602ddb82f87067bbb945fc2a814a8eb6d6aabe.tar.xz
packages-49602ddb82f87067bbb945fc2a814a8eb6d6aabe.zip
system/cryptsetup: pull in for mkinitfs
Diffstat (limited to 'system/cryptsetup/flush-stdout.patch')
-rw-r--r--system/cryptsetup/flush-stdout.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/cryptsetup/flush-stdout.patch b/system/cryptsetup/flush-stdout.patch
new file mode 100644
index 000000000..ae21a235f
--- /dev/null
+++ b/system/cryptsetup/flush-stdout.patch
@@ -0,0 +1,17 @@
+--- ./src/utils_tools.c.orig 2014-10-24 12:58:35.151717616 -0200
++++ ./src/utils_tools.c 2014-10-24 13:00:42.716855265 -0200
+@@ -105,10 +105,13 @@
+
+ case CRYPT_LOG_NORMAL:
+ fputs(msg, stdout);
++ fflush(stdout);
+ break;
+ case CRYPT_LOG_VERBOSE:
+- if (opt_verbose)
++ if (opt_verbose) {
+ fputs(msg, stdout);
++ fflush(stdout);
++ }
+ break;
+ case CRYPT_LOG_ERROR:
+ fputs(msg, stderr);