Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/examples/ping remove debugging stuff accidentall...



details:   https://anonhg.NetBSD.org/src/rev/def036f2e20a
branches:  trunk
changeset: 971636:def036f2e20a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 30 10:55:32 2020 +0000

description:
remove debugging stuff accidentally committed.

diffstat:

 sys/modules/examples/ping/ping.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 10b7881c8ac6 -r def036f2e20a sys/modules/examples/ping/ping.c
--- a/sys/modules/examples/ping/ping.c  Thu Apr 30 10:04:54 2020 +0000
+++ b/sys/modules/examples/ping/ping.c  Thu Apr 30 10:55:32 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ping.c,v 1.4 2020/04/30 00:48:10 christos Exp $        */
+/*     $NetBSD: ping.c,v 1.5 2020/04/30 10:55:32 christos Exp $        */
 
 /*-
  * Copyright (c) 2015 The NetBSD Foundation, Inc.
@@ -27,15 +27,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ping.c,v 1.4 2020/04/30 00:48:10 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ping.c,v 1.5 2020/04/30 10:55:32 christos Exp $");
 
-#define DDB
 #include <sys/param.h>
 #include <sys/conf.h>
 #include <sys/device.h>
 #include <sys/kernel.h>
 #include <sys/module.h>
-#include <sys/systm.h>
 
 #include "ping.h"
 
@@ -101,7 +99,6 @@
        switch(cmd) {
        case CMD_PING:
                printf("ping: pong!\n");
-               Debugger();
                return 0;
        default:
                return ENOTTY;



Home | Main Index | Thread Index | Old Index