]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.c
Only declare error codes that are safe to use.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index a3b8d8839b633e822c17d8307e303a58806e0c12..e13e257bc66556dc035440aa62055f5152905902 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -622,7 +622,7 @@ static void signal_post_select(struct sched *s, struct task *t)
                return;
        }
        PARA_NOTICE_LOG("caught signal %d\n", st->signum);
-       t->ret = -E_SIGNAL_CAUGHT;
+       t->ret = -E_AFS_SIGNAL;
        unregister_tasks();
 }