We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff90c98 commit 451c79aCopy full SHA for 451c79a
vminitd/Sources/vmexec/ExecCommand.swift
@@ -125,7 +125,7 @@ struct ExecCommand: ParsableCommand {
125
}
126
127
var fdCopy = hostFd
128
- var fdData = Data(bytes: &fdCopy, count: MemoryLayout.size(ofValue: fdCopy))
+ let fdData = Data(bytes: &fdCopy, count: MemoryLayout.size(ofValue: fdCopy))
129
try childPipe.fileHandleForWriting.write(contentsOf: fdData)
130
try childPipe.fileHandleForWriting.close()
131
0 commit comments