src: remove '
print modifier
It is not supported on Windows so it emits: warning C4476: 'fprintf' : unknown type field character ''' in format specifier warning C4474: 'fprintf' : too many arguments passed for format string PR-URL: https://github.com/nodejs/node/pull/13447 Fixes: https://github.com/nodejs/node/issues/13463 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
parent
422722ff67
commit
f06c05cf5a
@ -146,7 +146,7 @@ inline bool Environment::AsyncHooks::pop_ids(double async_id) {
|
|||||||
if (uid_fields_[kCurrentAsyncId] != async_id) {
|
if (uid_fields_[kCurrentAsyncId] != async_id) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Error: async hook stack has become corrupted ("
|
"Error: async hook stack has become corrupted ("
|
||||||
"actual: %'.f, expected: %'.f)\n",
|
"actual: %.f, expected: %.f)\n",
|
||||||
uid_fields_[kCurrentAsyncId],
|
uid_fields_[kCurrentAsyncId],
|
||||||
async_id);
|
async_id);
|
||||||
Environment* env = Environment::GetCurrent(isolate_);
|
Environment* env = Environment::GetCurrent(isolate_);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user