]> git.proxmox.com Git - mirror_qemu.git/blobdiff - audio/wavcapture.c
hw/vfio/platform: change interrupt/unmask fields into pointer
[mirror_qemu.git] / audio / wavcapture.c
index 4f785f5f49e01e8fe3fc2913d29998d360cfd5ff..86e905627aee1f7e173a01654ccaf36e1bc2eefe 100644 (file)
@@ -1,5 +1,6 @@
 #include "hw/hw.h"
-#include "monitor.h"
+#include "monitor/monitor.h"
+#include "qemu/error-report.h"
 #include "audio.h"
 
 typedef struct {
@@ -63,8 +64,7 @@ static void wav_destroy (void *opaque)
         }
     doclose:
         if (fclose (wav->f)) {
-            fprintf (stderr, "wav_destroy: fclose failed: %s",
-                     strerror (errno));
+            error_report("wav_destroy: fclose failed: %s", strerror(errno));
         }
     }