summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conn-tools/deps-exe/s6-ipcserverd1
-rw-r--r--src/daemontools-extras/lolsyslog.c7
-rw-r--r--src/instance/deps-exe/s6-instance-create1
-rw-r--r--src/instance/deps-exe/s6-instance-delete1
4 files changed, 8 insertions, 2 deletions
diff --git a/src/conn-tools/deps-exe/s6-ipcserverd b/src/conn-tools/deps-exe/s6-ipcserverd
index fad0b6f..50e2fd6 100644
--- a/src/conn-tools/deps-exe/s6-ipcserverd
+++ b/src/conn-tools/deps-exe/s6-ipcserverd
@@ -1,3 +1,4 @@
-lskarnet
${SOCKET_LIB}
+${SYSCLOCK_LIB}
${SPAWN_LIB}
diff --git a/src/daemontools-extras/lolsyslog.c b/src/daemontools-extras/lolsyslog.c
index e62bdef..0ade2f3 100644
--- a/src/daemontools-extras/lolsyslog.c
+++ b/src/daemontools-extras/lolsyslog.c
@@ -75,17 +75,20 @@ size_t lolsyslog_string (char *out, char const *in)
unsigned int fpr ;
int fp ;
CODE const *p = facilitynames ;
+ char const *x ;
if (in[0] != '<' || !(i = uint_scan(in+1, &fpr)) || in[1+i] != '>') return 0 ;
fp = LOG_FAC(fpr) << 3 ;
for (; p->c_name ; p++) if (p->c_val == fp) break ;
- out = stpcpy(out, p->c_name ? p->c_name : "unknown") ;
+ x = p->c_name ? p->c_name : "unknown" ;
+ strcpy(out, x) ; out += strlen(x) ;
*out++ = '.' ;
p = prioritynames ;
fp = LOG_PRI(fpr) ;
for (; p->c_name ; p++) if (p->c_val == fp) break ;
- out = stpcpy(out, p->c_name ? p->c_name : "unknown") ;
+ x = p->c_name ? p->c_name : "unknown" ;
+ strcpy(out, x) ; out += strlen(x) ;
*out++ = ':' ; *out++ = ' ' ; *out++ = 0 ;
return i+2 ;
}
diff --git a/src/instance/deps-exe/s6-instance-create b/src/instance/deps-exe/s6-instance-create
index 08815d9..b1e57e4 100644
--- a/src/instance/deps-exe/s6-instance-create
+++ b/src/instance/deps-exe/s6-instance-create
@@ -1,2 +1,3 @@
${LIBS6}
-lskarnet
+${SYSCLOCK_LIB}
diff --git a/src/instance/deps-exe/s6-instance-delete b/src/instance/deps-exe/s6-instance-delete
index 08815d9..b1e57e4 100644
--- a/src/instance/deps-exe/s6-instance-delete
+++ b/src/instance/deps-exe/s6-instance-delete
@@ -1,2 +1,3 @@
${LIBS6}
-lskarnet
+${SYSCLOCK_LIB}