Index: generic/src/proc/task.c
===================================================================
--- generic/src/proc/task.c	(revision 874621f88e11575154ad0c2e08fc906a8d92e4c0)
+++ generic/src/proc/task.c	(revision 0dbc4e7a921e1e08e6a60698a953242fa5a643b3)
@@ -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);
 }
 
