From: Ben Gras Date: Sat, 22 Oct 2005 11:08:57 +0000 (+0000) Subject: Don't check for failure on unmapping at exit. X-Git-Url: http://zhaoyanbai.com/repos/man.nsupdate.html?a=commitdiff_plain;h=864d801cc2702b559723402a19c90319f985d93b;p=minix.git Don't check for failure on unmapping at exit. --- diff --git a/servers/is/main.c b/servers/is/main.c index 813355532..590d724f4 100644 --- a/servers/is/main.c +++ b/servers/is/main.c @@ -120,8 +120,7 @@ PRIVATE void exit_server() fkeys = sfkeys = 0; for (i=1; i<=12; i++) bit_set(fkeys, i); for (i=1; i<= 7; i++) bit_set(sfkeys, i); - if ((s=fkey_unmap(&fkeys, &sfkeys)) != OK) - report("IS", "warning, unfkey_map failed:", s); + fkey_unmap(&fkeys, &sfkeys); /* Done. Now exit. */ exit(0);