Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/sys/kern Fix build problem caused by ticket #10184.
details: https://anonhg.NetBSD.org/src/rev/a9e6403fd2ed
branches: netbsd-2-0
changeset: 564919:a9e6403fd2ed
user: tron <tron%NetBSD.org@localhost>
date: Wed Dec 07 10:06:26 2005 +0000
description:
Fix build problem caused by ticket #10184.
diffstat:
sys/kern/kern_time.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7638db5c9983 -r a9e6403fd2ed sys/kern/kern_time.c
--- a/sys/kern/kern_time.c Tue Dec 06 16:51:04 2005 +0000
+++ b/sys/kern/kern_time.c Wed Dec 07 10:06:26 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_time.c,v 1.82.2.1 2005/12/06 16:50:39 tron Exp $ */
+/* $NetBSD: kern_time.c,v 1.82.2.2 2005/12/07 10:06:26 tron Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.82.2.1 2005/12/06 16:50:39 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_time.c,v 1.82.2.2 2005/12/07 10:06:26 tron Exp $");
#include "fs_nfs.h"
#include "opt_nfs.h"
@@ -132,7 +132,7 @@
* time_t is 32 bits even when atv.tv_sec is 64 bits.
*/
if (tv->tv_sec > INT_MAX - 365*24*60*60) {
- struct proc *p = curproc();
+ struct proc *p = curproc;
struct proc *pp = p->p_pptr;
log(LOG_WARNING, "pid %d (%s) "
"invoked by uid %d ppid %d (%s) "
Home |
Main Index |
Thread Index |
Old Index