From 01ca0728744fd72c3523994aeb18869b1aae0c7d Mon Sep 17 00:00:00 2001 From: Simone Piccardi Date: Fri, 22 Apr 2011 00:06:30 +0000 Subject: [PATCH] Correzioni minimali --- sources/test_signalfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/test_signalfd.c b/sources/test_signalfd.c index 628bd4d..cfdcd0b 100644 --- a/sources/test_signalfd.c +++ b/sources/test_signalfd.c @@ -53,7 +53,7 @@ int main(int argc, char *argv[]) /* * Variables definition */ - int i, nomask, testwrite, sigfd; + int i, nomask=0, testwrite=0, sigfd; time_t t; struct signalfd_siginfo siginf; sigset_t sigmask; @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) case 'n': /* no mask option */ nomask = 1; break; - case 'w': /* no mask option */ + case 'w': /* testwrite option */ testwrite = 1; break; case '?': /* unrecognized options */ -- 2.30.2