projects
/
gapil.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59f46f
)
Correzioni minimali
author
Simone Piccardi
<piccardi@gnulinux.it>
Fri, 22 Apr 2011 00:06:30 +0000
(
00:06
+0000)
committer
Simone Piccardi
<piccardi@gnulinux.it>
Fri, 22 Apr 2011 00:06:30 +0000
(
00:06
+0000)
sources/test_signalfd.c
patch
|
blob
|
history
diff --git
a/sources/test_signalfd.c
b/sources/test_signalfd.c
index 628bd4d85bb6519feea6416ff139e9d33b834c0a..cfdcd0b9d680f5394eccae0e32bff02976f4d74f 100644
(file)
--- 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 */