Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7-0]: src/sys/dev/sysmon Fix fallout from ticket #1511:



details:   https://anonhg.NetBSD.org/src/rev/cead7dfbed22
branches:  netbsd-7-0
changeset: 801403:cead7dfbed22
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Oct 24 09:24:32 2017 +0000

description:
Fix fallout from ticket #1511:
It's rnd_detach_source, not rnd_detach_sources.

diffstat:

 sys/dev/sysmon/sysmon_envsys.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4bba777fe2a4 -r cead7dfbed22 sys/dev/sysmon/sysmon_envsys.c
--- a/sys/dev/sysmon/sysmon_envsys.c    Mon Oct 23 19:37:18 2017 +0000
+++ b/sys/dev/sysmon/sysmon_envsys.c    Tue Oct 24 09:24:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysmon_envsys.c,v 1.127.2.1.2.1 2017/10/23 18:57:08 snj Exp $  */
+/*     $NetBSD: sysmon_envsys.c,v 1.127.2.1.2.2 2017/10/24 09:24:32 snj Exp $  */
 
 /*-
  * Copyright (c) 2007, 2008 Juan Romero Pardines.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.127.2.1.2.1 2017/10/23 18:57:08 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysmon_envsys.c,v 1.127.2.1.2.2 2017/10/24 09:24:32 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -1210,7 +1210,7 @@
                         * Detach from entropy collection
                         */
                        if (edata->flags & ENVSYS_FHAS_ENTROPY)
-                               rnd_detach_sources(&edata->rnd_src);
+                               rnd_detach_source(&edata->rnd_src);
 
                        /*
                         * Finally, remove any old limits event, then



Home | Main Index | Thread Index | Old Index