diff options
Diffstat (limited to 'entropy.c')
| -rw-r--r-- | entropy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/entropy.c b/entropy.c index 9305f89aeada..14b98f188918 100644 --- a/entropy.c +++ b/entropy.c @@ -108,7 +108,7 @@ get_random_bytes_prngd(unsigned char *buf, int len, strlen(socket_path) + 1; } - old_sigpipe = mysignal(SIGPIPE, SIG_IGN); + old_sigpipe = signal(SIGPIPE, SIG_IGN); errors = 0; rval = -1; @@ -158,7 +158,7 @@ reopen: rval = 0; done: - mysignal(SIGPIPE, old_sigpipe); + signal(SIGPIPE, old_sigpipe); if (fd != -1) close(fd); return rval; |
