Skip to content

Commit 791b5b5

Browse files
refackjasnell
authored andcommittedJun 7, 2017
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: #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]>
1 parent f47ce01 commit 791b5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/env-inl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ inline bool Environment::AsyncHooks::pop_ids(double async_id) {
146146
if (uid_fields_[kCurrentAsyncId] != async_id) {
147147
fprintf(stderr,
148148
"Error: async hook stack has become corrupted ("
149-
"actual: %'.f, expected: %'.f)\n",
149+
"actual: %.f, expected: %.f)\n",
150150
uid_fields_[kCurrentAsyncId],
151151
async_id);
152152
Environment* env = Environment::GetCurrent(isolate_);

0 commit comments

Comments
 (0)
Please sign in to comment.