Fixed a panic.

geesefs-0-30-9
Aaron Jacobs 2015-07-24 10:33:39 +10:00
parent b8d3dfd5ac
commit b0acac98d5
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ func (o *commonOp) ShortDesc() (desc string) {
}
// 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())
}