Commit 49c96946 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: fix StatFS printing.

parent 64bc9721
...@@ -208,8 +208,8 @@ func (me *CreateOut) string() string { ...@@ -208,8 +208,8 @@ func (me *CreateOut) string() string {
func (me *StatfsOut) string() string { func (me *StatfsOut) string() string {
return fmt.Sprintf( return fmt.Sprintf(
"{b%d f%d fs%d ff%d bs%d nl%d frs%d}", "{blocks (%d,%d)/%d files %d/%d bs%d nl%d frs%d}",
me.Blocks, me.Bfree, me.Bavail, me.Files, me.Ffree, me.Bfree, me.Bavail, me.Blocks, me.Ffree, me.Files,
me.Bsize, me.NameLen, me.Frsize) me.Bsize, me.NameLen, me.Frsize)
} }
...@@ -238,5 +238,5 @@ func Print(obj interface{}) string { ...@@ -238,5 +238,5 @@ func Print(obj interface{}) string {
if ok { if ok {
return t.string() return t.string()
} }
return fmt.Sprintf("%v", obj) return fmt.Sprintf("%T: %v", obj, obj)
} }
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