diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 02:27:33 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-16 02:27:33 +0200 |
commit | c212a65b65ba0100ceb9c4fa48c1f44dc0c804f5 (patch) | |
tree | e0277c440075c1830b30d7ae98fe0238cdae6a24 /source4/lib/wmi/tools | |
parent | 7e239a15b316deb83cbdcb79e392f6aefe289114 (diff) | |
download | samba-c212a65b65ba0100ceb9c4fa48c1f44dc0c804f5.tar.gz samba-c212a65b65ba0100ceb9c4fa48c1f44dc0c804f5.tar.bz2 samba-c212a65b65ba0100ceb9c4fa48c1f44dc0c804f5.zip |
More changes getting WMI code to compile, import manual marshalling.
Diffstat (limited to 'source4/lib/wmi/tools')
-rw-r--r-- | source4/lib/wmi/tools/wmic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/wmi/tools/wmic.c b/source4/lib/wmi/tools/wmic.c index 4b84c27c8d..bbfe5ed334 100644 --- a/source4/lib/wmi/tools/wmic.c +++ b/source4/lib/wmi/tools/wmic.c @@ -200,12 +200,12 @@ int main(int argc, char **argv) class_name = talloc_strdup(ctx, co[i]->obj_class->__CLASS); printf("CLASS: %s\n", class_name); for (j = 0; j < co[i]->obj_class->__PROPERTY_COUNT; ++j) - printf("%s%s", j?"|":"", co[i]->obj_class->properties[j].name); + printf("%s%s", j?"|":"", co[i]->obj_class->properties[j].property.name); printf("\n"); } for (j = 0; j < co[i]->obj_class->__PROPERTY_COUNT; ++j) { char *s; - s = string_CIMVAR(ctx, &co[i]->instance->data[j], co[i]->obj_class->properties[j].desc->cimtype & CIM_TYPEMASK); + s = string_CIMVAR(ctx, &co[i]->instance->data[j], co[i]->obj_class->properties[j].property.desc->cimtype & CIM_TYPEMASK); printf("%s%s", j?"|":"", s); } printf("\n"); |