aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/initdev.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/initdev.go')
-rw-r--r--container/initdev.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/container/initdev.go b/container/initdev.go
index 58e89718..cfb4b8b7 100644
--- a/container/initdev.go
+++ b/container/initdev.go
@@ -49,7 +49,6 @@ func (d *MountDevOp) apply(state *setupState, k syscallDispatcher) error {
toHost(FHSDev+name),
targetPath,
0,
- true,
); err != nil {
return err
}
@@ -97,7 +96,6 @@ func (d *MountDevOp) apply(state *setupState, k syscallDispatcher) error {
toHost(name),
consolePath,
0,
- false,
); err != nil {
return err
}
@@ -131,7 +129,7 @@ func (d *MountDevOp) Is(op Op) bool {
d.Mqueue == vd.Mqueue &&
d.Write == vd.Write
}
-func (*MountDevOp) prefix() string { return "mounting" }
+func (*MountDevOp) prefix() (string, bool) { return "mounting", true }
func (d *MountDevOp) String() string {
if d.Mqueue {
return fmt.Sprintf("dev on %q with mqueue", d.Target)