diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-26 19:53:20 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-26 19:53:20 +0000 |
commit | f1c2ce14060e4442dd59f6fa89e02b23c2d3989d (patch) | |
tree | aa81a018000664e46a2c0cf81c6d71cf42c1e9aa /apps/examples/elf/tests/signal/signal.c | |
parent | 6cafdad8d539bbfbe2a516e46fe41549b8a6b68a (diff) | |
download | nuttx-f1c2ce14060e4442dd59f6fa89e02b23c2d3989d.tar.gz nuttx-f1c2ce14060e4442dd59f6fa89e02b23c2d3989d.tar.bz2 nuttx-f1c2ce14060e4442dd59f6fa89e02b23c2d3989d.zip |
ARM and ARMv7-M ELF support; STM32F4Discovery ELF loader test configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5264 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/elf/tests/signal/signal.c')
-rw-r--r-- | apps/examples/elf/tests/signal/signal.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/examples/elf/tests/signal/signal.c b/apps/examples/elf/tests/signal/signal.c index 80d8c18ad..0d2e9e6cc 100644 --- a/apps/examples/elf/tests/signal/signal.c +++ b/apps/examples/elf/tests/signal/signal.c @@ -93,7 +93,7 @@ void sigusr1_sighandler(int signo) void sigusr2_sigaction(int signo, siginfo_t *siginfo, void *arg) { printf("sigusr2_sigaction: Received SIGUSR2, signo=%d siginfo=%p arg=%p\n", - signo, siginfo, arg); + signo, siginfo, arg); #ifdef HAVE_SIGQUEUE if (siginfo) @@ -163,7 +163,7 @@ int main(int argc, char **argv) if (old_sigusr1_sighandler == SIG_ERR) { fprintf(stderr, "Failed to install SIGUSR1 handler, errno=%d\n", - errno); + errno); exit(1); } @@ -182,7 +182,7 @@ int main(int argc, char **argv) if (status != 0) { fprintf(stderr, "Failed to install SIGUSR2 handler, errno=%d\n", - errno); + errno); exit(2); } @@ -263,7 +263,7 @@ int main(int argc, char **argv) if (old_sigusr2_sighandler == SIG_ERR) { fprintf(stderr, "Failed to install SIGUSR2 handler, errno=%d\n", - errno); + errno); exit(7); } @@ -275,8 +275,8 @@ int main(int argc, char **argv) if ((void*)old_sigusr2_sighandler != (void*)sigusr2_sigaction) { fprintf(stderr, - "Old SIGUSR2 signhanlder (%p) is not sigusr2_sigation (%p)\n", - old_sigusr2_sighandler, sigusr2_sigaction); + "Old SIGUSR2 signhanlder (%p) is not sigusr2_sigation (%p)\n", + old_sigusr2_sighandler, sigusr2_sigaction); exit(8); } |