]> git.proxmox.com Git - qemu.git/commit
qemu-ga: ga_open_pidfile(): add new line to pidfile
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 3 Oct 2012 21:40:01 +0000 (18:40 -0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 08:42:42 +0000 (03:42 -0500)
commit9d6f1b73f83a02fb28438fa9a487f5c7d245e4af
tree569570bc7265c91b63bc146bc121e9eb73171c9f
parent6a3c8c14c8467c5db3539f1b6e43e03318e5e21b
qemu-ga: ga_open_pidfile(): add new line to pidfile

FHS requires that pid files should end with a new line. Also change to
snprintf() while there.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qemu-ga.c