/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/plugin.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-05-03 00:07:32 UTC
  • Revision ID: csa@suren.me-20150503000732-u2g2insv7s1lwn55
Fix typos in versioning code

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    if (!model_info) return model_info;
55
55
 
56
56
    if ((PCILIB_VERSION_GET_MAJOR(model_info->interface_version) != PCILIB_VERSION_MAJOR)||(PCILIB_VERSION_GET_MINOR(model_info->interface_version) != PCILIB_VERSION_MINOR)) {
57
 
        pcilib_warning("Plugin %s exposes outdated interface version (%lu), pcitool supports (%lu)", model_info->name, model_info->interface_version, PCILIB_EVENT_INTERFACE_VERSION);
 
57
        printf("%u %u\n", model_info->interface_version, PCILIB_EVENT_INTERFACE_VERSION);
 
58
        pcilib_warning("Plugin %s exposes outdated interface version (%u.%u.%u), pcilib interface version is (%u.%u.%u)", model_info->name, 
 
59
                PCILIB_VERSION_GET_MAJOR(model_info->interface_version),
 
60
                PCILIB_VERSION_GET_MINOR(model_info->interface_version),
 
61
                PCILIB_VERSION_GET_MICRO(model_info->interface_version),
 
62
                PCILIB_VERSION_GET_MAJOR(PCILIB_EVENT_INTERFACE_VERSION),
 
63
                PCILIB_VERSION_GET_MINOR(PCILIB_EVENT_INTERFACE_VERSION),
 
64
                PCILIB_VERSION_GET_MICRO(PCILIB_EVENT_INTERFACE_VERSION)
 
65
        );
58
66
        return NULL;
59
67
    }
60
68