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/e28d69e9ae47
branches:  trunk
changeset: 344937:e28d69e9ae47
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 817d1af9d573 -r e28d69e9ae47 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