mcst-linux-kernel/patches-2024.06.26/fuse-2.9.9/glibc-2.35/0001-Fix-build-with-glibc-2...

21 lines
412 B
Diff

--- a/util/ulockmgr_server.c 2023-02-01 17:50:15.904191752 +0300
+++ b/util/ulockmgr_server.c 2023-02-01 17:51:20.832193096 +0300
@@ -124,7 +124,7 @@
return res;
}
-static int closefrom(int minfd)
+void closefrom(int minfd)
{
DIR *dir = opendir("/proc/self/fd");
if (dir) {
@@ -139,7 +139,7 @@
}
closedir(dir);
}
- return 0;
+ return;
}
static void send_reply(int cfd, struct message *msg)