diff options
| author | Mark McLoughlin <markmc@redhat.com> | 2009-05-28 14:07:31 +0100 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2009-06-09 11:38:49 +0100 |
| commit | cda94b27821726df74eead0701d8401c1acda6ec (patch) | |
| tree | 580fa6fd870c6fee6af381a142ff798a835e151a /vl.c | |
| parent | 7c3370d4fe3fa6cda8655f109e4659afc8ca4269 (diff) | |
| download | focaccia-qemu-cda94b27821726df74eead0701d8401c1acda6ec.tar.gz focaccia-qemu-cda94b27821726df74eead0701d8401c1acda6ec.zip | |
Revert "Fix output of uninitialized strings"
This reverts commit 8cf07dcbe7691dbe4f47563058659dba6ef66b05. This is a sorry saga. This commit: 8e4416af45 net: Add parameter checks for VLAN clients broken '-net socket' and this commit: ffad4116b9 net: Fix -net socket parameter checks fixed the problem but introduced another problem which this commit: 8cf07dcbe7 Fix output of uninitialized strings fixed that final problem, but causing us to lose some error reporting information in the process. Meanwhile Jan posted a patch to mostly re-do ffad4116b9 in a way that fixes the original issue, but without losing the error reporting information. So, let's revert 8cf07dcbe7 and apply Jan's patch. Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Diffstat (limited to 'vl.c')
| -rw-r--r-- | vl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vl.c b/vl.c index a5f966d4c7..ff438d0903 100644 --- a/vl.c +++ b/vl.c @@ -2228,7 +2228,8 @@ int drive_init(struct drive_opt *arg, int snapshot, void *opaque) NULL }; if (check_params(params, str) < 0) { - fprintf(stderr, "qemu: unknown parameter in '%s'\n", str); + fprintf(stderr, "qemu: unknown parameter '%s' in '%s'\n", + buf, str); return -1; } |