Skip to content

Commit

Permalink
Fix invalid type print
Browse files Browse the repository at this point in the history
  • Loading branch information
iychoi committed Mar 25, 2022
1 parent 69684cc commit 51cab74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irods/types/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (mode *FileOpenMode) GetFlagSeekToEnd() (int, bool) {
case FileOpenModeReadAppend:
return int(O_RDWR) | int(O_CREAT), true
default:
logger.Errorf("Unhandled file open mode %s", mode)
logger.Errorf("Unhandled file open mode %s", *mode)
return -1, false
}
}
Expand Down

0 comments on commit 51cab74

Please sign in to comment.