aboutsummaryrefslogtreecommitdiffstats
path: root/src/librandom/random_devurandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librandom/random_devurandom.c')
-rw-r--r--src/librandom/random_devurandom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librandom/random_devurandom.c b/src/librandom/random_devurandom.c
index 106c24f..6a83246 100644
--- a/src/librandom/random_devurandom.c
+++ b/src/librandom/random_devurandom.c
@@ -17,10 +17,10 @@ void random_devurandom (char *s, size_t n)
{
random_fd = openbc_read("/dev/urandom") ;
if (random_fd < 0)
- strerr_diefu2sys(111, "open ", "/dev/urandom") ;
+ strerr_diefusys(111, "open ", "/dev/urandom") ;
}
errno = EPIPE ;
r = allread(random_fd, s, n) ;
- if (r < n) strerr_diefu2sys(111, "read from ", "/dev/urandom") ;
+ if (r < n) strerr_diefusys(111, "read from ", "/dev/urandom") ;
errno = e ;
}