diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-05 10:23:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-05 10:23:18 +0100 |
commit | 9aa62a2a35904a08cbf2e884d3abd89d893daf91 (patch) | |
tree | 9f612bb8f368bfd5d14d84f9922b073302e85d30 /sys-fs/lxcfs/files | |
parent | b89f5897f4301157fb1a4af17e0c941703a2579c (diff) |
gentoo auto-resync : 05:09:2023 - 10:23:17
Diffstat (limited to 'sys-fs/lxcfs/files')
-rw-r--r-- | sys-fs/lxcfs/files/lxcfs-5.0.4-fix-incompatible-pointer-conversion.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-fs/lxcfs/files/lxcfs-5.0.4-fix-incompatible-pointer-conversion.patch b/sys-fs/lxcfs/files/lxcfs-5.0.4-fix-incompatible-pointer-conversion.patch new file mode 100644 index 000000000000..bead63bd52dd --- /dev/null +++ b/sys-fs/lxcfs/files/lxcfs-5.0.4-fix-incompatible-pointer-conversion.patch @@ -0,0 +1,19 @@ +Bug: https://bugs.gentoo.org/894348 +Upstream PR: https://github.com/lxc/lxcfs/pull/610 +--- a/src/proc_loadavg.c ++++ b/src/proc_loadavg.c +@@ -603,12 +603,12 @@ pthread_t load_daemon(int load_use) + + ret = init_load(); + if (ret == -1) +- return log_error(0, "Initialize hash_table fails in load_daemon!"); ++ return (pthread_t) log_error(0, "Initialize hash_table fails in load_daemon!"); + + ret = pthread_create(&pid, NULL, load_begin, NULL); + if (ret != 0) { + load_free(); +- return log_error(0, "Create pthread fails in load_daemon!"); ++ return (pthread_t) log_error(0, "Create pthread fails in load_daemon!"); + } + + /* use loadavg, here loadavg = 1*/ |