Module Name:    src
Committed By:   kre
Date:           Sun Mar 11 15:13:05 UTC 2018

Modified Files:
        src/sys/kern: kern_proc.c

Log Message:
Make a comment meaningful.   ie: s/Ditto/what it was copying/  (more or less)

That is, there was a comment "Ditto" - which once upon a time, was used
to indicate the the previous comment applied here as well.   Time passed,
and software mutated, and the previous comment was unfortunately sacrificed.

Poor little Ditto was left all alone.

Noticed while doing some software archaeology.


To generate a diff of this commit:
cvs rdiff -u -r1.209 -r1.210 src/sys/kern/kern_proc.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/kern/kern_proc.c
diff -u src/sys/kern/kern_proc.c:1.209 src/sys/kern/kern_proc.c:1.210
--- src/sys/kern/kern_proc.c:1.209	Thu Nov 30 18:44:16 2017
+++ src/sys/kern/kern_proc.c	Sun Mar 11 15:13:05 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_proc.c,v 1.209 2017/11/30 18:44:16 maxv Exp $	*/
+/*	$NetBSD: kern_proc.c,v 1.210 2018/03/11 15:13:05 kre Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.209 2017/11/30 18:44:16 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.210 2018/03/11 15:13:05 kre Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_kstack.h"
@@ -1655,7 +1655,7 @@ sysctl_doeproc(SYSCTLFN_ARGS)
 			arg = name[1];
 			break;
 		}
-		elem_count = 0;	/* Ditto */
+		elem_count = 0;	/* Hush little compiler, don't you cry */
 		kelem_size = elem_size = sizeof(kbuf->kproc);
 	} else {
 		if (namelen != 4)

Reply via email to