Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/dist/lib/libdtrace/common remove incorre...



details:   https://anonhg.NetBSD.org/src/rev/98f48a50ac27
branches:  trunk
changeset: 815079:98f48a50ac27
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 28 11:38:41 2016 +0000

description:
remove incorrect comment

diffstat:

 external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 2819c7a533d0 -r 98f48a50ac27 external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c
--- a/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c   Thu Apr 28 09:22:19 2016 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c   Thu Apr 28 11:38:41 2016 +0000
@@ -1041,7 +1041,6 @@
        char *p;
        size_t olen = len;
 
-       /* This call shouldn't fail, but use a default just in case.*/
        if (sysctlbyname(BOOTFILE, bootfile, &len, NULL, 0) != 0)
                strlcpy(bootfile, DEFKERNEL, olen);
 



Home | Main Index | Thread Index | Old Index