# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1207776529 25200
# Node ID 17f2f0d424887bc0c51037a3bbc7fd665938e8ba
# Parent fae3c71425bf5d5adc01a6de1005c87b8726916c
Fix typo in NetRASD creation that could have caused a break if we rearrange things
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r fae3c71425bf -r 17f2f0d42488 src/Virt_RASD.c
--- a/src/Virt_RASD.c Wed Apr 09 14:28:40 2008 -0700
+++ b/src/Virt_RASD.c Wed Apr 09 14:28:49 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";