diff options
Diffstat (limited to 'commands/memcpy.c')
-rw-r--r-- | commands/memcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/memcpy.c b/commands/memcpy.c index 803f06e574..ef25fb7b23 100644 --- a/commands/memcpy.c +++ b/commands/memcpy.c @@ -86,7 +86,7 @@ static int do_memcpy(int argc, char *argv[]) while (count > 0) { int now, r; - now = min((loff_t)RW_BUF_SIZE, count); + now = min_t(loff_t, RW_BUF_SIZE, count); r = read(sourcefd, buf, now); if (r < 0) { |