aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_random.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/app_random.c b/apps/app_random.c
index cab34f31e..789e04beb 100644
--- a/apps/app_random.c
+++ b/apps/app_random.c
@@ -116,9 +116,8 @@ char *description(void)
int usecount(void)
{
- int res;
- STANDARD_USECOUNT(res);
- return res;
+ /* Don't allow unload, since rand(3) depends upon this module being here. */
+ return 1;
}
char *key()