Module Name:    src
Committed By:   simonb
Date:           Tue Mar 23 13:19:09 UTC 2021

Modified Files:
        src/sys/modules/examples/sysctl: sysctl.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/examples/sysctl/sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/modules/examples/sysctl/sysctl.c
diff -u src/sys/modules/examples/sysctl/sysctl.c:1.1 src/sys/modules/examples/sysctl/sysctl.c:1.2
--- src/sys/modules/examples/sysctl/sysctl.c:1.1	Fri Apr 13 01:20:28 2018
+++ src/sys/modules/examples/sysctl/sysctl.c	Tue Mar 23 13:19:09 2021
@@ -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 @@ sysctl_modcmd(modcmd_t cmd, void *arg)
 {
 	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:

Reply via email to