diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-26 01:45:58 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-26 01:52:22 +0000 |
| commit | 4e942b0832a8dc2ea882f4aa1a4778976572f6b8 (patch) | |
| tree | 540be997ac24290526d36db588cd9e843abf24a6 /util/libreboot-utils/lib/rand.c | |
| parent | 83165f8ad81f232d1bf53499a58bd05f9828fe57 (diff) | |
cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/lib/rand.c')
| -rw-r--r-- | util/libreboot-utils/lib/rand.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util/libreboot-utils/lib/rand.c b/util/libreboot-utils/lib/rand.c index 4ac50a9c..ac94a482 100644 --- a/util/libreboot-utils/lib/rand.c +++ b/util/libreboot-utils/lib/rand.c @@ -69,8 +69,6 @@ * or your program dies. */ -#define ELOTTERY ECANCELED - int win_lottery(void) /* are u lucky? */ { @@ -82,7 +80,7 @@ win_lottery(void) /* are u lucky? */ if (scmp(s1, s2, BUFSIZ + 2, &rval) >= 0 && rval == 0) - rval = 1; /* winner */ + rval = 1; /* winner! */ else rval = 0; |
