From: Ben Gras Date: Wed, 24 Aug 2005 16:57:12 +0000 (+0000) Subject: Don't keep looping on bogus device message. X-Git-Tag: v3.1.0~290 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch10.html?a=commitdiff_plain;h=4da92e20db92a882373bea218837dfce01218225;p=minix.git Don't keep looping on bogus device message. --- diff --git a/servers/fs/device.c b/servers/fs/device.c index 905afdd1a..3c931f572 100644 --- a/servers/fs/device.c +++ b/servers/fs/device.c @@ -361,7 +361,7 @@ message *mess_ptr; /* pointer to message for task */ "fs: strange device reply from %d, type = %d, proc = %d (2)\n", mess_ptr->m_source, mess_ptr->m_type, mess_ptr->REP_PROC_NR); - continue; /* XXX ? */ + return; } r = receive(task_nr, mess_ptr);