Skip to content

Commit

Permalink
src: remove ' print modifier
Browse files Browse the repository at this point in the history
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: #13447
Fixes: #13463
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Andreas Madsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
refack committed Jun 6, 2017
1 parent 422722f commit f06c05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/env-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ inline bool Environment::AsyncHooks::pop_ids(double async_id) {
if (uid_fields_[kCurrentAsyncId] != async_id) {
fprintf(stderr,
"Error: async hook stack has become corrupted ("
"actual: %'.f, expected: %'.f)\n",
"actual: %.f, expected: %.f)\n",
uid_fields_[kCurrentAsyncId],
async_id);
Environment* env = Environment::GetCurrent(isolate_);
Expand Down

0 comments on commit f06c05c

Please sign in to comment.