Skip to content

Commit

Permalink
Fix printf format for size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Sep 15, 2015
1 parent f3170b6 commit f171faa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilities/checkpoint/checkpoint.cc
Expand Up @@ -24,6 +24,7 @@
#include "rocksdb/env.h"
#include "rocksdb/transaction_log.h"
#include "util/file_util.h"
#include "port/port.h"

namespace rocksdb {

Expand Down Expand Up @@ -131,7 +132,7 @@ Status CheckpointImpl::CreateCheckpoint(const std::string& checkpoint_dir) {
(type == kDescriptorFile) ? manifest_file_size : 0);
}
}
Log(db_->GetOptions().info_log, "Number of log files %ld",
Log(db_->GetOptions().info_log, "Number of log files %" ROCKSDB_PRIszt,
live_wal_files.size());

// Link WAL files. Copy exact size of last one because it is the only one
Expand Down

0 comments on commit f171faa

Please sign in to comment.