]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Fix documentation of filter->post-select().
authorAndre Noll <maan@systemlinux.org>
Sun, 21 Jul 2013 14:25:10 +0000 (16:25 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 21 Jul 2013 19:44:25 +0000 (21:44 +0200)
The ->post_select() methods return an integer these days and should
*not* set the ->error field of the task struct directly.

filter.h

index 1cda119f0f3496183f0785c181f583fdd4a061b9..80bc896be87612d869da1610366333fced5660a3 100644 (file)
--- a/filter.h
+++ b/filter.h
@@ -106,8 +106,7 @@ struct filter {
         * Convert (filter) the given data.
         *
         * Pointer to the converting function of the filter. On errors, the
-        * post_select function is supposed to set t->error to a (negative)
-        * error code.
+        * post_select function is supposed to return a negative error code.
         */
        int (*post_select)(struct sched *s, struct task *t);
        /**