Commit 52a871a4 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix buglet in SetAttr print.

parent f7c0c6ca
......@@ -102,7 +102,7 @@ func (me *SetAttrIn) String() string {
s = append(s, fmt.Sprintf("uid %d", me.Gid))
}
if me.Valid&FATTR_SIZE != 0 {
s = append(s, fmt.Sprintf("uid %d", me.Size))
s = append(s, fmt.Sprintf("size %d", me.Size))
}
if me.Valid&FATTR_ATIME != 0 {
s = append(s, fmt.Sprintf("atime %d %d", me.Atime, me.Atimensec))
......
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