Group :: Monitoring
RPM: hddtemp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: hddtemp-fedora-user-context-type.patch
Download
Download
diff -up hddtemp-0.3-beta15/src/backtrace.c.ucontext hddtemp-0.3-beta15/src/backtrace.c
--- hddtemp-0.3-beta15/src/backtrace.c.ucontext 2018-03-15 20:58:48.253308241 +0100
+++ hddtemp-0.3-beta15/src/backtrace.c 2018-03-15 21:14:42.288130136 +0100
@@ -42,7 +42,7 @@
#define MAX_BTSIZE 64
void backtrace_handler(int n, siginfo_t *ist, void *extra) {
- static struct ucontext *puc;
+ static ucontext_t *puc;
static void *btinfo[MAX_BTSIZE];
static char **messages = NULL;
static size_t btsize = 0;
@@ -58,7 +58,7 @@ void backtrace_handler(int n, siginfo_t
#define SIC_CASE(c) case c: strerr = #c
- puc = (struct ucontext *)extra;
+ puc = (ucontext_t *)extra;
switch(n) {
case SIGSEGV:
switch(ist->si_code) {