mirror of https://github.com/etcd-io/bbolt.git
change FileMode var formatter to %s
Signed-off-by: Andy Xie <andy.xning@gmail.com>pull/774/head
parent
f8ffaee87a
commit
3a7dc77481
2
db.go
2
db.go
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue