From 7d9973022f5417a9fbd11f25536186f1cac5d38b Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 23 Feb 2025 10:52:55 +0800
Subject: [PATCH] update modules makefile to support build libgpiod on x86
---
project/socketd/booster/proc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/project/socketd/booster/proc.c b/project/socketd/booster/proc.c
index 3fa8907..b55b202 100644
--- a/project/socketd/booster/proc.c
+++ b/project/socketd/booster/proc.c
@@ -357,7 +357,7 @@
* *****************************************************************************/
int set_daemon_running(const char *pid_file)
{
- daemonize(0, 1);
+ daemon(0, 1);
log_info("Program running as daemon [PID:%d].\n", getpid());
if (record_daemon_pid(pid_file) < 0)
--
Gitblit v1.9.1