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 <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>
  • Loading branch information
refack authored and jasnell committed Jun 7, 2017
1 parent f47ce01 commit 791b5b5
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 791b5b5

Please sign in to comment.