Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern s/null terminate/NUL terminate/ in a comment.
details: https://anonhg.NetBSD.org/src/rev/0f43e43f4819
branches: trunk
changeset: 770142:0f43e43f4819
user: apb <apb%NetBSD.org@localhost>
date: Wed Oct 05 13:24:09 2011 +0000
description:
s/null terminate/NUL terminate/ in a comment.
>From PR 45422 by Greg Woods.
diffstat:
sys/kern/kern_sysctl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 93b3cd2baada -r 0f43e43f4819 sys/kern/kern_sysctl.c
--- a/sys/kern/kern_sysctl.c Wed Oct 05 13:22:13 2011 +0000
+++ b/sys/kern/kern_sysctl.c Wed Oct 05 13:24:09 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sysctl.c,v 1.231 2011/07/17 20:54:52 joerg Exp $ */
+/* $NetBSD: kern_sysctl.c,v 1.232 2011/10/05 13:24:09 apb Exp $ */
/*-
* Copyright (c) 2003, 2007, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sysctl.c,v 1.231 2011/07/17 20:54:52 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sysctl.c,v 1.232 2011/10/05 13:24:09 apb Exp $");
#include "opt_defcorename.h"
#include "ksyms.h"
@@ -1574,7 +1574,7 @@
}
/*
- * did they null terminate it, or do we have space
+ * did they NUL terminate it, or do we have space
* left to do it ourselves?
*/
if (newbuf[len - 1] != '\0' && len == sz) {
Home |
Main Index |
Thread Index |
Old Index