Skip to content
Commit 25edeac1 authored by Joshua Watt's avatar Joshua Watt Committed by Steve Sakoman
Browse files

qemu-helper-native: Correctly pass program name as argv[0]



The previous version of this wasn't correctly passing the program name
as argv[0], and was also over-complicated anyway because argv[] is
guaranteed to be terminated with a NULL pointer, so it can be passed
directly to the execv'd process without needing to be copied.

Signed-off-by: default avatarJoshua Watt <JPEWhacker@gmail.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 6edf38ad)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent adabfbd9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment