]> git.proxmox.com Git - qemu.git/commit
qemu-progress.c: printf isn't signal safe
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 28 Apr 2011 11:58:30 +0000 (13:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 3 May 2011 09:29:21 +0000 (11:29 +0200)
commit2ab3cb8c0ae79c96f38f6bfd35620cc18ddba19f
treec7c7e6e004c2658ae7c7a89be70953afb38b4e74
parentab71982716928577826b9aa7fc9a5102bfce5f0e
qemu-progress.c: printf isn't signal safe

Change the signal handling to indicate a signal is pending, rather
then printing directly from the signal handler.

In addition make the signal prints go to stderr, rather than stdout.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-progress.c