aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sandbox/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/sandbox/mount.go')
-rw-r--r--test/sandbox/mount.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sandbox/mount.go b/test/sandbox/mount.go
index 27dc6bae..29405722 100644
--- a/test/sandbox/mount.go
+++ b/test/sandbox/mount.go
@@ -7,7 +7,7 @@ package sandbox
#include <stdio.h>
#include <libmount.h>
-const char *F_MOUNTINFO_PATH = "/proc/self/mountinfo";
+const char *HAKUREI_MOUNTINFO_PATH = "/proc/self/mountinfo";
*/
import "C"
@@ -86,7 +86,7 @@ func (m *Mountinfo) Parse() error {
}
if m.p == "" {
- m.tb = C.mnt_new_table_from_file(C.F_MOUNTINFO_PATH)
+ m.tb = C.mnt_new_table_from_file(C.HAKUREI_MOUNTINFO_PATH)
} else {
name := C.CString(m.p)
m.tb = C.mnt_new_table_from_file(name)