We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73b301d commit 972bc18Copy full SHA for 972bc18
stdlib/public/libexec/swift-backtrace/main.swift
@@ -551,7 +551,7 @@ Generate a backtrace for the parent process.
551
// If the output path is a directory, generate a filename
552
let name = target!.name
553
let pid = target!.pid
554
- var now = timespec()
+ var now = timespec(tv_sec: 0, tv_nsec: 0)
555
556
if clock_gettime(CLOCK_REALTIME, &now) != 0 {
557
now.tv_sec = time(nil)
0 commit comments