mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 375270: fixing frprintf args in DumpHeap
This commit is contained in:
parent
b3757f8df8
commit
72283683ea
@ -1398,7 +1398,8 @@ DumpHeap(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
} else {
|
||||
dumpFile = fopen(fileName, "w");
|
||||
if (!dumpFile) {
|
||||
fprintf(gErrFile, "gc: can't open %s: %s\n", strerror(errno));
|
||||
fprintf(gErrFile, "dumpHeap: can't open %s: %s\n",
|
||||
fileName, strerror(errno));
|
||||
return JS_FALSE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user