diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-05-25 14:54:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2020-05-25 14:54:00 +0000 |
commit | 00d3e4ac379d76d6fdaacb288af1b76a4c4ed326 (patch) | |
tree | 28b4331308af4b4d4a638ae70e755d22047b0a3b /sys/stand | |
parent | 224691bb5a0444892f424849d6250cc62c3d3a89 (diff) |
Adjust fwrandom() to return 0 for sucess, -1 for failure
Diffstat (limited to 'sys/stand')
-rw-r--r-- | sys/stand/boot/bootarg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/stand/boot/bootarg.h b/sys/stand/boot/bootarg.h index 02f6f3f339a..9ccc3c3a5fd 100644 --- a/sys/stand/boot/bootarg.h +++ b/sys/stand/boot/bootarg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bootarg.h,v 1.15 2018/04/08 13:24:36 kettenis Exp $ */ +/* $OpenBSD: bootarg.h,v 1.16 2020/05/25 14:53:57 deraadt Exp $ */ /* * Copyright (c) 1996-1999 Michael Shalayeff @@ -50,8 +50,8 @@ extern bootarg_t *bootargp; #endif void loadrandom(char *name, char *buf, size_t buflen); -void mdrandom(char *buf, size_t buflen); -void fwrandom(char *buf, size_t buflen); +int mdrandom(char *buf, size_t buflen); +int fwrandom(char *buf, size_t buflen); #ifdef _STANDALONE void addbootarg(int, size_t, void *); |