diff options
author | Konst Mayer <cdlscpmv@gmail.com> | 2018-07-13 20:26:18 +0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-07-13 12:48:08 -0500 |
commit | 2352bd4da2b2ec1dc8d7579066f64d70c7afd1dd (patch) | |
tree | 78662d515633092c60c49e1236fd67c7f839581e | |
parent | 0bce1bdafb1b5ad35c459fa3cf2ba0cdf74c7c16 (diff) | |
download | toybox-2352bd4da2b2ec1dc8d7579066f64d70c7afd1dd.tar.gz |
Fix typo in a macro name
-rw-r--r-- | lib/portability.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portability.c b/lib/portability.c index 80ca8c9a..1415141f 100644 --- a/lib/portability.c +++ b/lib/portability.c @@ -36,7 +36,7 @@ void xgetrandom(void *buf, unsigned buflen, unsigned flags) #if CFG_TOYBOX_GETRANDOM if (buflen != getrandom(buf, buflen, flags)) - if (!CFG_TOYBOX_ANDROID || errno!=ENOSYS) perror_exit("getrandom"); + if (!CFG_TOYBOX_ON_ANDROID || errno!=ENOSYS) perror_exit("getrandom"); #endif fd = xopen(flags ? "/dev/random" : "/dev/urandom", O_RDONLY); |