diff options
author | Michal Minar <miminar@redhat.com> | 2013-10-08 08:28:58 +0200 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-10-08 12:54:18 +0200 |
commit | 657e5bfee810e4a51b33ffd401aa307862491423 (patch) | |
tree | 53a77e4eba4d49a003eb49aac8b8b679ad2181c1 /src/hardware | |
parent | 34f4c8f9bd6885f7157bad63a6b6f9a6e4a35b51 (diff) | |
download | openlmi-providers-657e5bfee810e4a51b33ffd401aa307862491423.tar.gz openlmi-providers-657e5bfee810e4a51b33ffd401aa307862491423.tar.xz openlmi-providers-657e5bfee810e4a51b33ffd401aa307862491423.zip |
hardware: fixed build
LMI_Processor_Family_Other was undefined
Diffstat (limited to 'src/hardware')
-rw-r--r-- | src/hardware/LMI_ProcessorProvider.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hardware/LMI_ProcessorProvider.c b/src/hardware/LMI_ProcessorProvider.c index fbf1d13..dcec6a3 100644 --- a/src/hardware/LMI_ProcessorProvider.c +++ b/src/hardware/LMI_ProcessorProvider.c @@ -29,6 +29,8 @@ #include "lscpu.h" #include "procfs.h" +static const int LMI_Processor_Family_Other = 1; + CMPIUint16 get_family(const char *family); CMPIUint16 get_cpustatus(const char *status); CMPIUint16 get_enabledstate(const CMPIUint16 status); @@ -630,7 +632,7 @@ CMPIUint16 get_upgrade_method(const char *dmi_upgrade) } } - return 1; /* Other */ + return LMI_Processor_Family_Other; } /* |