diff options
author | Harsh Prateek Bora <harsh@linux.vnet.ibm.com> | 2010-10-18 15:36:36 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-10-20 12:10:58 -0500 |
commit | 9f506893a454ce24263aba49594aa953e9a52853 (patch) | |
tree | 9decd82cbe79795c2cd8a2f6e8b4c4572884c59a /hw/virtio-9p.c | |
parent | 70fc55ebe4fe5e72802468f16ae09169cf323b04 (diff) |
[virtio-9p] Qemu 9p commandline options validity checks
Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Diffstat (limited to 'hw/virtio-9p.c')
-rw-r--r-- | hw/virtio-9p.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c index 4586ccefb4..867fcfa095 100644 --- a/hw/virtio-9p.c +++ b/hw/virtio-9p.c @@ -3697,8 +3697,8 @@ VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf *conf) if (!fse) { /* We don't have a fsdev identified by fsdev_id */ - fprintf(stderr, "Virtio-9p device couldn't find fsdev " - "with the id %s\n", conf->fsdev_id); + fprintf(stderr, "Virtio-9p device couldn't find fsdev with the " + "id = %s\n", conf->fsdev_id ? conf->fsdev_id : "NULL"); exit(1); } |