Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/compat/common Pull up rev. 1.8:
details: https://anonhg.NetBSD.org/src/rev/6cfdb06783f9
branches: netbsd-1-5
changeset: 488520:6cfdb06783f9
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri Jul 14 18:03:35 2000 +0000
description:
Pull up rev. 1.8:
Sprinkle in some const.
diffstat:
sys/compat/common/kern_info_09.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 94162841f352 -r 6cfdb06783f9 sys/compat/common/kern_info_09.c
--- a/sys/compat/common/kern_info_09.c Fri Jul 14 17:34:01 2000 +0000
+++ b/sys/compat/common/kern_info_09.c Fri Jul 14 18:03:35 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_info_09.c,v 1.6 2000/03/28 23:57:31 simonb Exp $ */
+/* $NetBSD: kern_info_09.c,v 1.6.4.1 2000/07/14 18:03:35 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1991, 1993
@@ -108,7 +108,8 @@
syscallarg(struct outsname *) name;
} */ *uap = v;
struct outsname outsname;
- char *cp, *dp, *ep;
+ const char *cp;
+ char *dp, *ep;
strncpy(outsname.sysname, ostype, sizeof(outsname.sysname));
strncpy(outsname.nodename, hostname, sizeof(outsname.nodename));
Home |
Main Index |
Thread Index |
Old Index