Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/sysctl remove debugging
details: https://anonhg.NetBSD.org/src/rev/06f4d8fa8698
branches: trunk
changeset: 333587:06f4d8fa8698
user: christos <christos%NetBSD.org@localhost>
date: Sun Nov 09 22:50:38 2014 +0000
description:
remove debugging
diffstat:
sbin/sysctl/sysctl.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 7a2b8a74189a -r 06f4d8fa8698 sbin/sysctl/sysctl.c
--- a/sbin/sysctl/sysctl.c Sun Nov 09 20:29:58 2014 +0000
+++ b/sbin/sysctl/sysctl.c Sun Nov 09 22:50:38 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.c,v 1.154 2014/11/09 18:36:02 christos Exp $ */
+/* $NetBSD: sysctl.c,v 1.155 2014/11/09 22:50:38 christos Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
#if 0
static char sccsid[] = "@(#)sysctl.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: sysctl.c,v 1.154 2014/11/09 18:36:02 christos Exp $");
+__RCSID("$NetBSD: sysctl.c,v 1.155 2014/11/09 22:50:38 christos Exp $");
#endif
#endif /* not lint */
@@ -689,8 +689,6 @@
}
if (type != CTLTYPE_NODE && pnode->sysctl_size == 0) {
- printf("x=%zu\n", sz);
- sz = 0;
rc = prog_sysctl(&name[0], namelen, NULL, &sz, NULL, 0);
if (rc == -1) {
sysctlerror(1);
Home |
Main Index |
Thread Index |
Old Index