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