Skip to content

Commit

Permalink
Merge pull request #774 from andyxning/change_FileMode_formatter_to_s
Browse files Browse the repository at this point in the history
change FileMode var formatter to %s
  • Loading branch information
ahrtr authored Jun 25, 2024
2 parents f8ffaee + 3a7dc77 commit 065ba27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func Open(path string, mode os.FileMode, options *Options) (db *DB, err error) {

lg := db.Logger()
if lg != discardLogger {
lg.Infof("Opening db file (%s) with mode %x and with options: %s", path, mode, options)
lg.Infof("Opening db file (%s) with mode %s and with options: %s", path, mode, options)
defer func() {
if err != nil {
lg.Errorf("Opening bbolt db (%s) failed: %v", path, err)
Expand Down

0 comments on commit 065ba27

Please sign in to comment.