Index: src/gdb-jit.cc |
diff --git a/src/gdb-jit.cc b/src/gdb-jit.cc |
index 2113d3eeec988fbb5bcdcf45a435fc8d9d284b6e..789a0fd5a39a506729066fa67ea8bacce69b3756 100644 |
--- a/src/gdb-jit.cc |
+++ b/src/gdb-jit.cc |
@@ -1857,12 +1857,12 @@ static void RegisterCodeEntry(JITCodeEntry* entry, |
static const char* kObjFileExt = ".o"; |
char file_name[64]; |
- OS::SNPrintF(Vector<char>(file_name, kMaxFileNameSize), |
- "%s%s%d%s", |
- kElfFilePrefix, |
- (name_hint != NULL) ? name_hint : "", |
- file_num++, |
- kObjFileExt); |
+ SNPrintF(Vector<char>(file_name, kMaxFileNameSize), |
+ "%s%s%d%s", |
+ kElfFilePrefix, |
+ (name_hint != NULL) ? name_hint : "", |
+ file_num++, |
+ kObjFileExt); |
WriteBytes(file_name, entry->symfile_addr_, entry->symfile_size_); |
} |
#endif |