]> git.ipfire.org Git - thirdparty/qemu.git/commit
pr-helper: fix --socket-path default in help
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Jun 2018 11:55:04 +0000 (13:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Jun 2018 17:05:34 +0000 (19:05 +0200)
commit50fa332516d5e42695811f43396b749185e21b9c
tree0daf1b459cea22b168de8602f1944802510e0cd4
parentc44df2ff9be326b218f6655ee17ddd914ece8d5a
pr-helper: fix --socket-path default in help

Currently --help shows "(default '(null)')" for the -k/--socket-path
option.  Fix it by getting the default path in /var/run.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
scsi/qemu-pr-helper.c