SHA256
1
0
forked from pool/qclib
qclib/qclib-change-_PATH_MOUNTED.patch

13 lines
488 B
Diff
Raw Normal View History

--- qclib-2.4.1.orig/query_capacity_hypfs.c 2023-12-17 23:06:06.000000000 +0100
+++ qclib-2.4.1.changed/query_capacity_hypfs.c 2024-04-19 13:35:35.683106609 +0200
@@ -11,6 +11,9 @@
#include "query_capacity_data.h"
+/* Workaround changing '/etc/mtab' to '/proc/self/mounts' */
+#define _PATH_MOUNTED "/proc/self/mounts"
+/* */
#define QC_HYPFS_LPAR "/s390_hypfs/diag_204"
#define QC_HYPFS_ZVM "/s390_hypfs/diag_2fc"