From: Ben Gras Date: Wed, 1 Jun 2005 09:40:02 +0000 (+0000) Subject: function key notifications became notifies fix X-Git-Tag: v3.1.0~785 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/index.html?a=commitdiff_plain;h=66dab193f3b931f4c4497a729ceb818e6e894b9d;p=minix.git function key notifications became notifies fix --- diff --git a/servers/fs/dmp.c b/servers/fs/dmp.c index 4c8c3a77b..f0a799151 100644 --- a/servers/fs/dmp.c +++ b/servers/fs/dmp.c @@ -26,13 +26,22 @@ FORWARD _PROTOTYPE( void fproc_dmp, (void)); PUBLIC int do_fkey_pressed(void) { printf("Debug dump of FS data structure: "); +#if DEAD_CODE switch (m_in.FKEY_CODE) { +#else + switch (m_in.NOTIFY_FLAGS) { +#endif case SF5: fproc_dmp(); break; case SF6: dtab_dmp(); break; default: +#if DEAD_CODE printf("FS: unhandled notification for Shift+F%d key.\n", m_in.FKEY_NUM); +#else + printf("FS: unhandled notification for Shift+F%d key.\n", + m_in.NOTIFY_FLAGS); +#endif } }