ipmitool/0003-Cleanup-and-compiler-issues-only-no-functional-chang.patch
Thomas Renninger 465a7673ba Accepting request 905182 from home:trenn:branches:systemsmanagement
- Update to version 1.8.18+git20210622.11c7605:
  * Fix codefactor-io / CodeFactor warnings
  * Use /run instead of /var/run
  * oem: Update product IDs for YADRO
  * lan: Add processing of get/set specific CCs
  * lan: Refactor pointer style
  * doc: update lanplus doc to reflect default cipher suite change
  * ekanalyzer: Fix internal use area off-by-one bug
  * ekanalyzer frushow: Fix internal area size calc
  * sel: Fix "power supply inactive" flag offset
  * free: Fix implicit function declarations
  * Convert line endings to LF
- Update source file:
M    enterprise-numbers
- Adopt to latest sources:
M    0003-Cleanup-and-compiler-issues-only-no-functional-chang.patch
- Remove mainline patches:
D    0007-bsc#1175328-check-for-correct-fd.patch
D    0008-bsc#1181063-dont-parametrize-pidfile-name.patch
D    Use-run-instead-of-var-run.patch
D    lanplus-don-t-retry-pre-session-Get-cipher-suites.patch
- Config file in /etc must not be executable
  /etc/bmc-snmp-proxy

OBS-URL: https://build.opensuse.org/request/show/905182
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=59
2021-07-09 07:37:01 +00:00

49 lines
1.8 KiB
Diff

From e48fa62fe6e9b5fa1f537c2d149078fb0ce218c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Wed, 23 Sep 2020 09:36:46 +0200
Subject: [PATCH 3/6] Cleanup and compiler issues only, no functional change
Changes partly very old and not possible to find the original author.
Signed-off-by: Thomas Renninger <trenn@suse.de>
---
lib/ipmi_ekanalyzer.c | 2 +-
lib/ipmi_picmg.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Index: ipmitool-1.8.18+git20210622.11c7605/lib/ipmi_ekanalyzer.c
===================================================================
--- ipmitool-1.8.18+git20210622.11c7605.orig/lib/ipmi_ekanalyzer.c
+++ ipmitool-1.8.18+git20210622.11c7605/lib/ipmi_ekanalyzer.c
@@ -4055,7 +4055,7 @@ ipmi_ek_display_clock_config_record(stru
(feature & 1) ? "Source" : "Receiver");
printf("\tFamily: 0x%02x - AccLVL: 0x%02x\n",
family, accuracy);
- printf("\tFRQ: %-9ld - min: %-9ld - max: %-9ld\n",
+ printf("\tFRQ: %-9lu - min: %-9lu - max: %-9lu\n",
freq, min_freq, max_freq);
}
printf("\n");
Index: ipmitool-1.8.18+git20210622.11c7605/lib/ipmi_picmg.c
===================================================================
--- ipmitool-1.8.18+git20210622.11c7605.orig/lib/ipmi_picmg.c
+++ ipmitool-1.8.18+git20210622.11c7605/lib/ipmi_picmg.c
@@ -949,7 +949,7 @@ ipmi_picmg_portstate_get(struct ipmi_int
}
else if (d->type >= 0x06 && d->type <= 0xef)
{
- printf("Reserved\n");
+ printf("Reserved %d\n",d->type);
}
else if (d->type >= 0xf0 && d->type <= 0xfe)
{
@@ -1805,7 +1805,7 @@ ipmi_picmg_clk_get(struct ipmi_intf * in
oemval2str( rsp->data[3], rsp->data[4],
picmg_clk_accuracy_vals));
- printf(" - Freq: %ld\n", freq);
+ printf(" - Freq: %lu\n", freq);
}
}
}