Commit 3eef97bb authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Mknod pretty print.

parent c1873abe
......@@ -169,6 +169,10 @@ func (me *MkdirIn) String() string {
return fmt.Sprintf("{0%o (0%o)}", me.Mode, me.Umask)
}
func (me *MknodIn) String() string {
return fmt.Sprintf("{0%o (0%o), %d}", me.Mode, me.Umask, me.Rdev)
}
func (me *ReleaseIn) String() string {
return fmt.Sprintf("{Fh %d %s %s %d}",
me.Fh, flagString(openFlagNames, int(me.Flags), ""),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment