Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Use "NULL" instead of "(struct foo *)0".
details: https://anonhg.NetBSD.org/src/rev/444db548daae
branches: trunk
changeset: 569751:444db548daae
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Sep 04 07:09:35 2004 +0000
description:
Use "NULL" instead of "(struct foo *)0".
diffstat:
sys/kern/kern_ktrace.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3b0ff709bec6 -r 444db548daae sys/kern/kern_ktrace.c
--- a/sys/kern/kern_ktrace.c Fri Sep 03 21:55:17 2004 +0000
+++ b/sys/kern/kern_ktrace.c Sat Sep 04 07:09:35 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_ktrace.c,v 1.91 2004/06/24 15:06:35 christos Exp $ */
+/* $NetBSD: kern_ktrace.c,v 1.92 2004/09/04 07:09:35 skrll Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_ktrace.c,v 1.91 2004/06/24 15:06:35 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_ktrace.c,v 1.92 2004/09/04 07:09:35 skrll Exp $");
#include "opt_ktrace.h"
#include "opt_compat_mach.h"
@@ -714,7 +714,7 @@
aiov[0].iov_len = sizeof(struct ktr_header);
auio.uio_resid = sizeof(struct ktr_header);
auio.uio_iovcnt = 1;
- auio.uio_procp = (struct proc *)0;
+ auio.uio_procp = NULL;
if (kth->ktr_len > 0) {
auio.uio_iovcnt++;
aiov[1].iov_base = (void *)kth->ktr_buf;
Home |
Main Index |
Thread Index |
Old Index