fix(daemon): log format

This commit is contained in:
fengzero
2023-05-19 07:58:47 +00:00
parent 0b75c2afb0
commit c88b60c8c3
+1 -1
View File
@@ -129,7 +129,7 @@ int neuron_already_running()
snprintf(buf, sizeof(buf), "%ld", (long) getpid());
size = write(fd, buf, strlen(buf) + 1);
nlog_warn("write %s ret: %d, %s(%d)", NEURON_DAEMON_LOCK_FNAME, size,
nlog_warn("write %s, error %s(%d)", NEURON_DAEMON_LOCK_FNAME,
strerror(errno), errno);
assert(size != -1);