Skip to content

Commit

Permalink
change FileMode var formatter to %s
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Xie <[email protected]>
  • Loading branch information
andyxning committed Jun 25, 2024
1 parent f8ffaee commit 3a7dc77
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 3a7dc77

Please sign in to comment.