From 7c203d1479735238d886236cd947961a5fb74f8d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 21 Jul 2013 16:25:10 +0200 Subject: [PATCH] Fix documentation of filter->post-select(). The ->post_select() methods return an integer these days and should *not* set the ->error field of the task struct directly. --- filter.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/filter.h b/filter.h index 1cda119f..80bc896b 100644 --- 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); /** -- 2.39.2