diff options
Diffstat (limited to 'apps/examples/elf/tests')
-rw-r--r-- | apps/examples/elf/tests/signal/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/elf/tests/signal/signal.c b/apps/examples/elf/tests/signal/signal.c index b40da7a86..d43f012cb 100644 --- a/apps/examples/elf/tests/signal/signal.c +++ b/apps/examples/elf/tests/signal/signal.c @@ -161,7 +161,7 @@ int main(int argc, char **argv) /* Send SIGUSR1 to ourselves via kill() */ printf("Kill-ing SIGUSR1 from pid=%d\n", mypid); - status = kill(0, SIGUSR1); + status = kill(mypid, SIGUSR1); if (status != 0) { fprintf(stderr, "Failed to kill SIGUSR1, errno=%d\n", errno); |