aboutsummaryrefslogtreecommitdiffstats
path: root/rpa.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpa.c')
-rw-r--r--rpa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpa.c b/rpa.c
index 7e9dde6a..f05c4072 100644
--- a/rpa.c
+++ b/rpa.c
@@ -723,7 +723,7 @@ int len;
buf[i] = devrandom ? fgetc(devrandom) : random();
if (devrandom)
- fclose(devrandom);
+ fclose(devrandom); /* should be safe, file mode was "r" */
if (outlevel >= O_DEBUG)
{