Kill TASK_UNREGISTERED error code.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 5a2e39b468fa58d7cb66bc3ca07f71012b02c2e2..ed905a108dffe5be44e4cc8051da0582e144262b 100644 (file)
--- a/error.h
+++ b/error.h
@@ -231,9 +231,9 @@ extern const char **para_errlist[];
 
 #define SCHED_ERRORS \
        PARA_ERROR(TASK_KILLED, "task killed"), \
 
 #define SCHED_ERRORS \
        PARA_ERROR(TASK_KILLED, "task killed"), \
-       PARA_ERROR(TASK_UNREGISTERED, "task has been unscheduled"), \
        PARA_ERROR(NO_SUCH_TASK, "task not found"), \
        PARA_ERROR(NOT_INITIALIZED, "scheduler not yet initialized"), \
        PARA_ERROR(NO_SUCH_TASK, "task not found"), \
        PARA_ERROR(NOT_INITIALIZED, "scheduler not yet initialized"), \
+       PARA_ERROR(SCHED_SHUTDOWN, "scheduler was shut down"), \
 
 
 #define NET_ERRORS \
 
 
 #define NET_ERRORS \