From: Ben Gras Date: Thu, 14 Jun 2012 13:36:38 +0000 (+0200) Subject: pm: ignore notify() from unknown sender X-Git-Tag: v3.2.1~544 X-Git-Url: http://zhaoyanbai.com/repos/rndc-confgen.html?a=commitdiff_plain;h=5e38c802d8945cbbc52570a7217a3283218bc4e4;p=minix.git pm: ignore notify() from unknown sender . avoids annoying error message if e.g. buggy drivers send pm notify()s that pm tries to reply() ENOSYS to --- diff --git a/servers/pm/main.c b/servers/pm/main.c index 45796594c..ac140b92a 100644 --- a/servers/pm/main.c +++ b/servers/pm/main.c @@ -96,7 +96,8 @@ int main() result = SUSPEND; /* don't reply */ break; default : - result = ENOSYS; + /* ignore notify() from unknown sender */ + result = SUSPEND; } /* done, send reply and continue */