diff options
author | Radek Novacek <rnovacek@redhat.com> | 2013-11-18 14:15:56 +0100 |
---|---|---|
committer | Radek Novacek <rnovacek@redhat.com> | 2013-11-18 14:43:05 +0100 |
commit | 0169c7d2a2b26a86eb10542690c557c34fc0eb00 (patch) | |
tree | 3b885d1798c418276fbe5e631039048189c76484 /src/hardware/LMI_ProcessorCacheMemoryProvider.c | |
parent | 34e418f1cc72dc79b25c6bc4c7db9866e07c95b8 (diff) | |
download | openlmi-providers-0169c7d2a2b26a86eb10542690c557c34fc0eb00.tar.gz openlmi-providers-0169c7d2a2b26a86eb10542690c557c34fc0eb00.tar.xz openlmi-providers-0169c7d2a2b26a86eb10542690c557c34fc0eb00.zip |
Fix missing format strings
Missing format strings are considered a vulnerability.
Diffstat (limited to 'src/hardware/LMI_ProcessorCacheMemoryProvider.c')
-rw-r--r-- | src/hardware/LMI_ProcessorCacheMemoryProvider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardware/LMI_ProcessorCacheMemoryProvider.c b/src/hardware/LMI_ProcessorCacheMemoryProvider.c index 616faa7..64879dc 100644 --- a/src/hardware/LMI_ProcessorCacheMemoryProvider.c +++ b/src/hardware/LMI_ProcessorCacheMemoryProvider.c @@ -158,7 +158,7 @@ done: sysfs_free_cpu_caches(&sysfs_cpu_caches, &sysfs_cpu_caches_nb); if (error_msg) { - KReturn2(_cb, ERR_FAILED, error_msg); + KReturn2(_cb, ERR_FAILED, "%s", error_msg); } CMReturn(CMPI_RC_OK); |