From 435f2dfc9a8f1c40f557f357d1db27efcd9082cf Mon Sep 17 00:00:00 2001 From: Luke Wagner Date: Thu, 23 Feb 2017 18:14:04 -0600 Subject: [PATCH] Bug 1341412 - Baldr: fix rebase fail (r=bustage) MozReview-Commit-ID: Kydw7jaZiQ7 --HG-- extra : rebase_source : 760a4058ca6b548e00edc823707545f97d954f7d --- js/src/wasm/WasmValidate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/wasm/WasmValidate.cpp b/js/src/wasm/WasmValidate.cpp index e7580ff3ede3..c68d152f17f3 100644 --- a/js/src/wasm/WasmValidate.cpp +++ b/js/src/wasm/WasmValidate.cpp @@ -618,8 +618,8 @@ DecodePreamble(Decoder& d) return d.fail("failed to match magic number"); if (!d.readFixedU32(&u32) || u32 != EncodingVersion) { - return d.fail("binary version 0x%" PRIx32 " does not match expected version 0x%" PRIx32, - u32, EncodingVersion); + return d.failf("binary version 0x%" PRIx32 " does not match expected version 0x%" PRIx32, + u32, EncodingVersion); } return true;