diff options
author | dg <dg@FreeBSD.org> | 1994-08-13 14:21:58 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-13 14:21:58 +0000 |
commit | 9daaac06d011638b2c9c77c569a63927ae68ed7b (patch) | |
tree | 01edcf569af8464ca938981b6ba0e48c1541770f /sys/nfs | |
parent | 700593f434cf6d270fc2a6fec50aba5a94e5869e (diff) | |
download | FreeBSD-src-9daaac06d011638b2c9c77c569a63927ae68ed7b.zip FreeBSD-src-9daaac06d011638b2c9c77c569a63927ae68ed7b.tar.gz |
Made the kernel compile cleanly with gcc 2.6.0. Thanks go to Bruce
Evans for suggesting a method to detect various versions of gcc.
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_nqlease.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/nfs/nfs_nqlease.c b/sys/nfs/nfs_nqlease.c index ba388ad..0b31786 100644 --- a/sys/nfs/nfs_nqlease.c +++ b/sys/nfs/nfs_nqlease.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_nqlease.c 8.3 (Berkeley) 1/4/94 - * $Id$ + * $Id: nfs_nqlease.c,v 1.3 1994/08/02 07:52:08 davidg Exp $ */ /* @@ -389,8 +389,9 @@ nqsrv_instimeq(lp, duration) tlp = nqthead.th_chain[1]; while (tlp->lc_expiry > newexpiry && tlp != (struct nqlease *)&nqthead) tlp = tlp->lc_chain1[1]; - if (tlp == nqthead.th_chain[1]) + if (tlp == nqthead.th_chain[1]) { NQSTORENOVRAM(newexpiry); + } insque(lp, tlp); } |