diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-06 16:43:18 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-06 16:43:18 +0000 |
| commit | 7f6d7526cc2d5ac965ba5eaf99d482b13086a820 (patch) | |
| tree | 7f256b3aad3bd0bc9defc43e3c2a6d26b752efe1 /util/nvmutil | |
| parent | a358a6fe09ab795d80580f7bd7d99f4266b11544 (diff) | |
util/nvmutil: use arc4random on DragonFly BSD
it has arc4random, so we will use it there.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index b727a539..f489448d 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -53,7 +53,8 @@ static const char *getnvmprogname(void); static void set_err(int); #if defined(__OpenBSD__) || defined(__FreeBSD__) || \ - defined(__NetBSD__) || defined(__APPLE__) + defined(__NetBSD__) || defined(__APPLE__) || \ + defined(__DragonFly__) #ifndef HAVE_ARC4RANDOM #define HAVE_ARC4RANDOM #endif |
