aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2010-01-18 12:15:01 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-02-28 14:11:32 +0100
commitcc21d131e347673564ccc10f9d30c9995f4b664e (patch)
tree4bf83753b03545e091b11e2e6f1cae97ce8cd055 /qemu-char.c
parentfix undefined shifts by >32 (diff)
downloadqemu-kvm-cc21d131e347673564ccc10f9d30c9995f4b664e.tar.gz
qemu-kvm-cc21d131e347673564ccc10f9d30c9995f4b664e.tar.bz2
qemu-kvm-cc21d131e347673564ccc10f9d30c9995f4b664e.zip
qemu-char.c: drop debug printfs from qemu_chr_parse_compat
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> (cherry picked from commit 5bb599023a6478e86152a2e8bc2b21775261b9da)
Diffstat (limited to 'qemu-char.c')
-rw-r--r--qemu-char.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/qemu-char.c b/qemu-char.c
index 5a1b535bd..f00f90ad6 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2318,7 +2318,6 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename)
if (sscanf(p, "%64[^:]:%32[^@,]%n", host, port, &pos) < 2) {
host[0] = 0;
if (sscanf(p, ":%32[^,]%n", port, &pos) < 1) {
- fprintf(stderr, "udp #1\n");
goto fail;
}
}
@@ -2329,7 +2328,6 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename)
if (sscanf(p, "%64[^:]:%32[^,]%n", host, port, &pos) < 2) {
host[0] = 0;
if (sscanf(p, ":%32[^,]%n", port, &pos) < 1) {
- fprintf(stderr, "udp #2\n");
goto fail;
}
}
@@ -2357,7 +2355,6 @@ QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename)
}
fail:
- fprintf(stderr, "%s: fail on \"%s\"\n", __FUNCTION__, filename);
qemu_opts_del(opts);
return NULL;
}