]> git.imager.perl.org - imager.git/blobdiff - iolayer.c
Fixed r= instead of r=> in 4 places!
[imager.git] / iolayer.c
index efcbf552c161554dfbd01d3edd868055b5a40b7e..4ef32811b5f5e6a985825c7e2b66fe8ee5a2ce67 100644 (file)
--- a/iolayer.c
+++ b/iolayer.c
@@ -676,7 +676,7 @@ bufchain_seek(io_glue *ig, off_t offset, int whence) {
       ieb->cpos = ieb->tfill;
 
       while(wrlen > 0) {
-       ssize_t rc, wl = min(wrlen, BBSIZ);
+       ssize_t rc, wl = i_min(wrlen, BBSIZ);
        mm_log((1, "bufchain_seek: wrlen = %d, wl = %d\n", wrlen, wl));
        rc = bufchain_write( ig, TB, wl );
        if (rc != wl) m_fatal(0, "bufchain_seek: Unable to extend file\n");