From 5e38c802d8945cbbc52570a7217a3283218bc4e4 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 14 Jun 2012 15:36:38 +0200 Subject: [PATCH] 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 --- servers/pm/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.44.0