From de3b3f3bb9653680e2f5be4ff9e353ac1bd7a6a5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 17 Oct 2026 23:49:31 +0000 Subject: Clean up internal strerr_die invocations --- src/librandom/random_devurandom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/librandom') 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 ; } -- cgit v1.3.1