mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
obuspa: fix syslog format
This commit is contained in:
parent
ca962744b8
commit
d3ae8b5020
2 changed files with 13 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=obuspa
|
||||
PKG_VERSION:=10.0.0.1
|
||||
PKG_VERSION:=10.0.0.2
|
||||
|
||||
LOCAL_DEV:=0
|
||||
ifneq ($(LOCAL_DEV),1)
|
||||
|
|
|
|||
12
obuspa/patches/1004-syslog-format.patch
Normal file
12
obuspa/patches/1004-syslog-format.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/src/core/usp_log.c b/src/core/usp_log.c
|
||||
index 2722b8f..95b61b3 100644
|
||||
--- a/src/core/usp_log.c
|
||||
+++ b/src/core/usp_log.c
|
||||
@@ -115,6 +115,7 @@ int USP_LOG_SetFile(const char *file)
|
||||
if ((file == NULL) || strcmp(file, "syslog")==0)
|
||||
{
|
||||
log_fd = NULL;
|
||||
+ openlog("obuspa", LOG_PID | LOG_NDELAY, LOG_DAEMON);
|
||||
return USP_ERR_OK;
|
||||
}
|
||||
|
||||
Loading…
Add table
Reference in a new issue