summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/xmbmon/files/xmbmon-2.0.5-fflush.patch')
-rw-r--r--sys-apps/xmbmon/files/xmbmon-2.0.5-fflush.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-apps/xmbmon/files/xmbmon-2.0.5-fflush.patch b/sys-apps/xmbmon/files/xmbmon-2.0.5-fflush.patch
new file mode 100644
index 000000000000..655b30f75517
--- /dev/null
+++ b/sys-apps/xmbmon/files/xmbmon-2.0.5-fflush.patch
@@ -0,0 +1,10 @@
+--- a/mbmon.c
++++ b/mbmon.c
+@@ -640,6 +640,7 @@
+ else if (fanspeed == 7)
+ fprintf(out, "%4d\n%4d\n%4d\n", rot1, rot2, rot3);
+ }
++ fflush(out);
+ if (port) {
+ #ifdef LOGGING
+ if (nfd)