Index: generic/src/proc/task.c
===================================================================
--- generic/src/proc/task.c	(revision b65caba198c5e73a38a403befaabc8928f0b3558)
+++ generic/src/proc/task.c	(revision bffa0b06adea1b03489a7f0c461606f20a0da9b2)
@@ -50,4 +50,5 @@
 #include <errno.h>
 #include <syscall/copy.h>
+#include <console/klog.h>
 
 #ifndef LOADED_PROG_STACK_PAGES_NO
@@ -402,4 +403,5 @@
 	ipc_cleanup();
 	futex_cleanup();
+	klog_printf("Cleanup of task %lld completed.", TASK->taskid);
 }
 
