aboutsummaryrefslogtreecommitdiff
path: root/src/env-inl.h
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2017-06-03 23:50:11 -0400
committerRefael Ackermann <refack@gmail.com>2017-06-06 11:16:58 -0400
commitf06c05cf5a2c2678a76c15adbe7f3acbc9478617 (patch)
tree715cb64d68f5843e7a917b8505f4acb71e3ada24 /src/env-inl.h
parent422722ff67fc29e1cfd212d183a9594f8869de7f (diff)
downloadandroid-node-v8-f06c05cf5a2c2678a76c15adbe7f3acbc9478617.tar.gz
android-node-v8-f06c05cf5a2c2678a76c15adbe7f3acbc9478617.tar.bz2
android-node-v8-f06c05cf5a2c2678a76c15adbe7f3acbc9478617.zip
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>
Diffstat (limited to 'src/env-inl.h')
-rw-r--r--src/env-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env-inl.h b/src/env-inl.h
index f73f9687b0..cf7304c98d 100644
--- a/src/env-inl.h
+++ b/src/env-inl.h
@@ -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_);