
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1208191352 25200 # Node ID 857848be56f0bdc3480bb9f5a7ae6d0598b4d9a8 # Parent 041175667e48789b50efe550a3d7d41f42110caa Fix typo in NetRASD creation that could have caused a break if we rearrange things No changes, but separate from the larger set. Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r 041175667e48 -r 857848be56f0 src/Virt_RASD.c --- a/src/Virt_RASD.c Mon Apr 14 09:42:01 2008 -0700 +++ b/src/Virt_RASD.c Mon Apr 14 09:42:32 2008 -0700 @@ -155,7 +155,7 @@ static CMPIInstance *rasd_from_vdev(cons } else if (dev->type == CIM_RES_TYPE_NET) { CMSetProperty(inst, "NetworkType", - (CMPIValue *)dev->dev.disk.type, + (CMPIValue *)dev->dev.net.type, CMPI_chars); } else if (dev->type == CIM_RES_TYPE_MEM) { const char *units = "KiloBytes";