aboutsummaryrefslogtreecommitdiff
path: root/lib/std/special/compiler_rt.zig
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2020-01-09 01:56:38 -0800
committerAndrew Kelley <andrew@ziglang.org>2020-01-09 13:36:44 -0500
commit834218d789430ac238e5ef4fa99cfe4bcf006f2d (patch)
tree6a43ac11524812625dba225dde6a091bcf2b0b2d /lib/std/special/compiler_rt.zig
parentd7333d8798a929312ceb897007e7bb6a8b2999ee (diff)
downloadzig-834218d789430ac238e5ef4fa99cfe4bcf006f2d.tar.gz
zig-834218d789430ac238e5ef4fa99cfe4bcf006f2d.zip
Fix remaining variadic formatted prints
Used a series of regex searches to try to find as many instances of the old pattern as I could and update them.
Diffstat (limited to 'lib/std/special/compiler_rt.zig')
-rw-r--r--lib/std/special/compiler_rt.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/special/compiler_rt.zig b/lib/std/special/compiler_rt.zig
index efa21d6cd7..6a2f11e1aa 100644
--- a/lib/std/special/compiler_rt.zig
+++ b/lib/std/special/compiler_rt.zig
@@ -308,7 +308,7 @@ const __udivmoddi4 = @import("compiler_rt/udivmoddi4.zig").__udivmoddi4;
pub fn panic(msg: []const u8, error_return_trace: ?*builtin.StackTrace) noreturn {
@setCold(true);
if (is_test) {
- std.debug.panic("{}", msg);
+ std.debug.panic("{}", .{msg});
} else {
unreachable;
}