Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ffs min() -> MIN()



details:   https://anonhg.NetBSD.org/src/rev/46fe15c9cf60
branches:  trunk
changeset: 514336:46fe15c9cf60
user:      chs <chs%NetBSD.org@localhost>
date:      Thu Aug 30 03:47:53 2001 +0000

description:
min() -> MIN()

diffstat:

 sys/ufs/ffs/ffs_inode.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d4603967e56f -r 46fe15c9cf60 sys/ufs/ffs/ffs_inode.c
--- a/sys/ufs/ffs/ffs_inode.c   Thu Aug 30 03:08:52 2001 +0000
+++ b/sys/ufs/ffs/ffs_inode.c   Thu Aug 30 03:47:53 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_inode.c,v 1.41 2001/05/30 11:57:18 mrg Exp $       */
+/*     $NetBSD: ffs_inode.c,v 1.42 2001/08/30 03:47:53 chs Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -239,7 +239,7 @@
                voff_t eoz;
 
                size = blksize(fs, oip, lblkno(fs, length));
-               eoz = min(lblktosize(fs, lblkno(fs, length)) + size, osize);
+               eoz = MIN(lblktosize(fs, lblkno(fs, length)) + size, osize);
                uvm_vnp_zerorange(ovp, length, eoz - length);
                uobj = &ovp->v_uvm.u_obj;
                simple_lock(&uobj->vmobjlock);



Home | Main Index | Thread Index | Old Index