summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2002-07-25 01:21:52 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2002-07-25 01:21:52 +0000
commit509469b0387b5bc3105f6781d381b8373c2cc3db (patch)
treecaa9119d0595b5fedfbe31d98b0de1b734aa6015 /sys/kern/kern_exec.c
parent84cd43b949e77fb8c7630871503c741a02a89635 (diff)
Compare with the same type. ok deraadt@
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 7fb2276bb39..b4699ac766a 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exec.c,v 1.68 2002/07/20 19:24:57 art Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.69 2002/07/25 01:21:51 nordin Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
@@ -298,7 +298,7 @@ sys_execve(p, v, retval)
/* allocate an argument buffer */
argp = (char *) uvm_km_valloc_wait(exec_map, NCARGS);
#ifdef DIAGNOSTIC
- if (argp == (vaddr_t) 0)
+ if (argp == NULL)
panic("execve: argp == NULL");
#endif
dp = argp;