sched.h: Explicitely mention size of task status buffer.
authorAndre Noll <maan@systemlinux.org>
Wed, 6 Jan 2010 23:42:10 +0000 (00:42 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 6 Jan 2010 23:42:10 +0000 (00:42 +0100)
sched.h

diff --git a/sched.h b/sched.h
index 26aaabe..35b5c63 100644 (file)
--- a/sched.h
+++ b/sched.h
@@ -63,7 +63,7 @@ struct task {
        /** Position of the task in the post_select list of the scheduler. */
        struct list_head post_select_node;
        /** Descriptive text and current status of the task. */
        /** Position of the task in the post_select list of the scheduler. */
        struct list_head post_select_node;
        /** Descriptive text and current status of the task. */
-       char status[MAXLINE];
+       char status[255];
 };
 
 /**
 };
 
 /**