termux-packages/packages/waypipe/src-util.c.patch
2022-03-30 06:27:13 +09:00

14 lines
451 B
Diff

--- a/src/util.c
+++ b/src/util.c
@@ -255,8 +255,8 @@
i, i);
} else {
link[len] = '\0';
- if (!strcmp(link, "/var/lib/sss/mc/passwd")) {
- wp_debug("Known issue, leaked fd %d to /var/lib/sss/mc/passwd",
+ if (!strcmp(link, "@TERMUX_PREFIX@/var/lib/sss/mc/passwd")) {
+ wp_debug("Known issue, leaked fd %d to @TERMUX_PREFIX@/var/lib/sss/mc/passwd",
i);
} else {
wp_error("Unexpected open fd %d: %s", i,