From: Theodore Ts'o Date: Tue, 4 Oct 2011 14:36:47 +0000 (-0400) Subject: e2fsck: make the signal catcher more portable, take 2 X-Git-Tag: v1.42-WIP-1005~13 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1c5ffb6820c6a86c05b14f052120393dbede6359;p=tools%2Fe2fsprogs.git e2fsck: make the signal catcher more portable, take 2 One table got missed when adding #ifdef's so that e2fsck/sigcatcher.c would compile on non-Linux systems. Signed-off-by: "Theodore Ts'o" --- diff --git a/e2fsck/sigcatcher.c b/e2fsck/sigcatcher.c index 3b8d582..6591aa9 100644 --- a/e2fsck/sigcatcher.c +++ b/e2fsck/sigcatcher.c @@ -132,15 +132,33 @@ static struct str_table sig_table[] = { }; static struct str_table generic_code_table[] = { +#ifdef SI_ASYNCNL DEFINE_ENTRY(SI_ASYNCNL) +#endif +#ifdef SI_TKILL DEFINE_ENTRY(SI_TKILL) +#endif +#ifdef SI_SIGIO DEFINE_ENTRY(SI_SIGIO) +#endif +#ifdef SI_ASYNCIO DEFINE_ENTRY(SI_ASYNCIO) +#endif +#ifdef SI_MESGQ DEFINE_ENTRY(SI_MESGQ) +#endif +#ifdef SI_TIMER DEFINE_ENTRY(SI_TIMER) +#endif +#ifdef SI_QUEUE DEFINE_ENTRY(SI_QUEUE) +#endif +#ifdef SI_USER DEFINE_ENTRY(SI_USER) +#endif +#ifdef SI_KERNEL DEFINE_ENTRY(SI_KERNEL) +#endif END_TABLE };