summaryrefslogtreecommitdiffstats
path: root/js/src/util/StructuredSpewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/util/StructuredSpewer.cpp')
-rw-r--r--js/src/util/StructuredSpewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/util/StructuredSpewer.cpp b/js/src/util/StructuredSpewer.cpp
index 72f483c6b5..ef59f79b87 100644
--- a/js/src/util/StructuredSpewer.cpp
+++ b/js/src/util/StructuredSpewer.cpp
@@ -158,7 +158,7 @@ void StructuredSpewer::spew(JSContext* cx, SpewChannel channel, const char* fmt,
json.beginObject();
json.property("channel", getName(channel));
- json.formatProperty("message", fmt, ap);
+ json.formatPropertyVA("message", fmt, ap);
json.endObject();
va_end(ap);