Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/ultrix fix const'ification fallout
details: https://anonhg.NetBSD.org/src/rev/0ea821c3eb14
branches: trunk
changeset: 581420:0ea821c3eb14
user: drochner <drochner%NetBSD.org@localhost>
date: Wed Jun 01 15:28:56 2005 +0000
description:
fix const'ification fallout
diffstat:
sys/compat/ultrix/ultrix_fs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r fbca493cf029 -r 0ea821c3eb14 sys/compat/ultrix/ultrix_fs.c
--- a/sys/compat/ultrix/ultrix_fs.c Wed Jun 01 15:25:51 2005 +0000
+++ b/sys/compat/ultrix/ultrix_fs.c Wed Jun 01 15:28:56 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ultrix_fs.c,v 1.30 2005/02/26 23:10:22 perry Exp $ */
+/* $NetBSD: ultrix_fs.c,v 1.31 2005/06/01 15:28:56 drochner Exp $ */
/*
* Copyright (c) 1995, 1997 Jonathan Stone
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ultrix_fs.c,v 1.30 2005/02/26 23:10:22 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ultrix_fs.c,v 1.31 2005/06/01 15:28:56 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -350,7 +350,7 @@
int error;
int otype = SCARG(uap, type);
char fsname[MFSNAMELEN];
- char * fstype;
+ const char *fstype;
struct sys_mount_args nuap;
char *native_fstype;
@@ -413,7 +413,7 @@
* and if so, set MNT_UPDATE so we can mount / read-write.
*/
fsname[0] = 0;
- if ((error = copyinstr((caddr_t)SCARG(&nuap, path), fsname,
+ if ((error = copyinstr(SCARG(&nuap, path), fsname,
sizeof fsname, NULL)) != 0)
return(error);
if (strcmp(fsname, "/") == 0) {
Home |
Main Index |
Thread Index |
Old Index