Page MenuHomeFreeBSD

D11373.id30136.diff
No OneTemporary

D11373.id30136.diff

Index: sys/kern/uipc_mbuf.c
===================================================================
--- sys/kern/uipc_mbuf.c
+++ sys/kern/uipc_mbuf.c
@@ -1517,7 +1517,7 @@
* the total data supplied by the uio.
*/
if (len > 0)
- total = min(uio->uio_resid, len);
+ total = (uio->uio_resid < len) ? uio->uio_resid : len;
else
total = uio->uio_resid;

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 22, 8:35 PM (18 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30137702
Default Alt Text
D11373.id30136.diff (361 B)

Event Timeline