aboutsummaryrefslogtreecommitdiffstats
path: root/main/s390-tools/0006-define-path-mounted.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/s390-tools/0006-define-path-mounted.patch')
-rw-r--r--main/s390-tools/0006-define-path-mounted.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/s390-tools/0006-define-path-mounted.patch b/main/s390-tools/0006-define-path-mounted.patch
new file mode 100644
index 0000000000..4c7761c2ab
--- /dev/null
+++ b/main/s390-tools/0006-define-path-mounted.patch
@@ -0,0 +1,15 @@
+Picked from include/paths.h.
+See more http://www.openwall.com/lists/musl/2014/03/29/5
+
+diff --git a/hyptop/helper.c b/hyptop/helper.c
+index 1212bda..733fd4e 100644
+--- a/hyptop/helper.c
++++ b/hyptop/helper.c
+@@ -27,6 +27,7 @@
+ #include "hyptop.h"
+ #include "sd.h"
+
++#define _PATH_MOUNTED "/etc/mtab"
+ /*
+ * Globals
+ */