diff options
author | 2002-07-25 01:21:51 +0000 | |
---|---|---|
committer | 2002-07-25 01:21:51 +0000 | |
commit | b5099d50640c6140ac93037a6d8ced6500d5b95a (patch) | |
tree | 43ce8ec9a235966d3185a775563418d20d8ae1a6 | |
parent | FallBackToRsh does not exist anywhere else. Remove it from here. OK deraadt. (diff) | |
download | wireguard-openbsd-b5099d50640c6140ac93037a6d8ced6500d5b95a.tar.xz wireguard-openbsd-b5099d50640c6140ac93037a6d8ced6500d5b95a.zip |
Compare with the same type. ok deraadt@
-rw-r--r-- | sys/kern/kern_exec.c | 4 |
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; |