Commit b0acac98 authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed a panic.

parent b8d3dfd5
...@@ -81,7 +81,7 @@ func (o *commonOp) ShortDesc() (desc string) { ...@@ -81,7 +81,7 @@ func (o *commonOp) ShortDesc() (desc string) {
} }
// Include the inode number to which the op applies, if possible. // Include the inode number to which the op applies, if possible.
if f := v.FieldByName("Inode"); f.IsValid() { if f := v.Elem().FieldByName("Inode"); f.IsValid() {
desc = fmt.Sprintf("%s(inode=%v)", opName, f.Interface()) desc = fmt.Sprintf("%s(inode=%v)", opName, f.Interface())
} }
......
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