Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/examples/sysctl Add some \n's to the end of some...



details:   https://anonhg.NetBSD.org/src/rev/73bd83546f2c
branches:  trunk
changeset: 953891:73bd83546f2c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Mar 23 13:19:09 2021 +0000

description:
Add some \n's to the end of some printf()s.

diffstat:

 sys/modules/examples/sysctl/sysctl.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 70388ae0bd9b -r 73bd83546f2c sys/modules/examples/sysctl/sysctl.c
--- a/sys/modules/examples/sysctl/sysctl.c      Tue Mar 23 11:56:55 2021 +0000
+++ b/sys/modules/examples/sysctl/sysctl.c      Tue Mar 23 13:19:09 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.c,v 1.1 2018/04/13 01:20:28 kamil Exp $ */
+/*     $NetBSD: sysctl.c,v 1.2 2021/03/23 13:19:09 simonb Exp $        */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sysctl.c,v 1.1 2018/04/13 01:20:28 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sysctl.c,v 1.2 2021/03/23 13:19:09 simonb Exp $");
 
 #include <sys/param.h>
 #include <sys/module.h>
@@ -104,11 +104,11 @@
 {
        switch(cmd) {
        case MODULE_CMD_INIT:
-               printf("sysctl module inserted");
+               printf("sysctl module inserted\n");
                sysctl_example_setup(&example_sysctl_log);
                break;
        case MODULE_CMD_FINI:
-               printf("sysctl module unloaded");
+               printf("sysctl module unloaded\n");
                sysctl_teardown(&example_sysctl_log);
                break;
        default:



Home | Main Index | Thread Index | Old Index