From 9a3149aba0214d514b57a53af6d019ae191ecab6 Mon Sep 17 00:00:00 2001 From: turret Date: Thu, 18 Jan 2024 19:24:14 -0600 Subject: all: remove defunct prints --- init/init.c | 4 +--- init/subsys.c | 6 ------ 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'init') diff --git a/init/init.c b/init/init.c index 3457769..126442e 100644 --- a/init/init.c +++ b/init/init.c @@ -101,8 +101,6 @@ static void doenv(char *path) *divider = '\0'; setenv(line, divider + 1, 0); - print(LOG_DEBUG "env: setting \"%s\" to \"%s\"", - line, divider + 1); nextline: offset += (eol - line) + 1; @@ -114,7 +112,7 @@ nextline: int main(void) { - print("init: Hello world! Running " NAME " v" VERSION "!"); + /* Hello, World! */ /* set mainpid for the subsystem service so it is fully accessible during l1 */ diff --git a/init/subsys.c b/init/subsys.c index c3fe903..704678f 100644 --- a/init/subsys.c +++ b/init/subsys.c @@ -45,9 +45,6 @@ static int __subsystem_entry(struct subsystem_info *info) static sigset_t set; sigprocmask(SIG_SETMASK, &set, NULL); - print(LOG_DEBUG "subsys: starting subsystem %s (%d)", - info->fn_name, getpid()); - int ret = info->fn(); return ret; @@ -86,9 +83,6 @@ int subsystem_handle_term(int pid) if(!subsystem || subsystem->pid != pid) continue; - print(LOG_DEBUG "subsys: subsystem terminated %s (%d)", - subsystem->fn_name, pid); - if(subsystem->mode == PANICMODE_RESPAWN && subsystem->respawn_count < MAX_RESPAWN) { ++(subsystem->respawn_count); -- cgit v1.2.3