From: Simone Piccardi Date: Fri, 22 Apr 2011 00:06:30 +0000 (+0000) Subject: Correzioni minimali X-Git-Url: https://gapil.gnulinux.it/gitweb/?a=commitdiff_plain;h=01ca0728744fd72c3523994aeb18869b1aae0c7d;p=gapil.git Correzioni minimali --- 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 */