Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/ultrix Use NULL instead of an explicit cast.
details: https://anonhg.NetBSD.org/src/rev/a4ca5f1002b2
branches: trunk
changeset: 509393:a4ca5f1002b2
user: matt <matt%NetBSD.org@localhost>
date: Thu May 03 05:30:35 2001 +0000
description:
Use NULL instead of an explicit cast.
diffstat:
sys/compat/ultrix/ultrix_fs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f1b48ddb1f14 -r a4ca5f1002b2 sys/compat/ultrix/ultrix_fs.c
--- a/sys/compat/ultrix/ultrix_fs.c Thu May 03 05:26:08 2001 +0000
+++ b/sys/compat/ultrix/ultrix_fs.c Thu May 03 05:30:35 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ultrix_fs.c,v 1.19 2000/06/28 15:39:36 mrg Exp $ */
+/* $NetBSD: ultrix_fs.c,v 1.20 2001/05/03 05:30:35 matt Exp $ */
/*
* Copyright (c) 1995, 1997 Jonathan Stone
@@ -417,7 +417,7 @@
*/
fsname[0] = 0;
if ((error = copyinstr((caddr_t)SCARG(&nuap, path), fsname,
- sizeof fsname, (u_int*)0)) != 0)
+ sizeof fsname, NULL)) != 0)
return(error);
if (strcmp(fsname, "/") == 0) {
SCARG(&nuap, flags) |= MNT_UPDATE;
Home |
Main Index |
Thread Index |
Old Index