summaryrefslogtreecommitdiff
path: root/db/log_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'db/log_test.cc')
-rw-r--r--db/log_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/log_test.cc b/db/log_test.cc
index c765e93..346b19c 100644
--- a/db/log_test.cc
+++ b/db/log_test.cc
@@ -27,7 +27,7 @@ static std::string BigString(const std::string& partial_string, size_t n) {
// Construct a string from a number
static std::string NumberString(int n) {
char buf[50];
- snprintf(buf, sizeof(buf), "%d.", n);
+ std::snprintf(buf, sizeof(buf), "%d.", n);
return std::string(buf);
}