mirror of
https://github.com/emqx/neuron.git
synced 2026-10-17 04:40:42 +08:00
fix(daemon): log format
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user