mirror of
https://github.com/troglobit/finit.git
synced 2026-10-26 12:14:37 +00:00
Fix printf format specifier and formatting issues in use of log fns
Almost all related to and (less likely) possible causes of issue #236. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
6d58c9ed0b
commit
a0820c7f20
3 files changed
+6
-5
No files matched your search
+1
-1
@@ -526,7 +526,7 @@ void cgroup_init(uev_ctx_t *ctx)
|
||||
|
||||
/* Move ourselves to init (best effort, otherwise run in 'root' group */
|
||||
if (fnwrite("1", FINIT_CGPATH "/init/cgroup.procs")) {
|
||||
_pe("Failed moving PID 1 to cgroup ", FINIT_CGPATH "/init");
|
||||
_pe("Failed moving PID 1 to cgroup %s", FINIT_CGPATH "/init");
|
||||
uev_io_stop(&cgw);
|
||||
iwatch_exit(&iw_cgroup);
|
||||
close(fd);
|
||||
|
||||
Reference in new issue
Block a user