use the macro
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Wed, 4 Sep 1985 23:50:20 +0000 (15:50 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Wed, 4 Sep 1985 23:50:20 +0000 (15:50 -0800)
SCCS-vsn: sys/kern/uipc_socket.c 6.16

usr/src/sys/kern/uipc_socket.c

index 852bde9..d86401c 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)uipc_socket.c       6.15 (Berkeley) %G%
+ *     @(#)uipc_socket.c       6.16 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -344,7 +344,7 @@ restart:
                                if (p == 0)
                                        goto nopages;
                                m->m_off = (int)p - (int)m;
                                if (p == 0)
                                        goto nopages;
                                m->m_off = (int)p - (int)m;
-                               len = min(CLBYTES, iov->iov_len);
+                               len = MIN(CLBYTES, iov->iov_len);
                                space -= CLBYTES;
                        } else {
 nopages:
                                space -= CLBYTES;
                        } else {
 nopages: