=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rdist/child.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- src/usr.bin/rdist/child.c 2011/04/10 15:47:28 1.15 +++ src/usr.bin/rdist/child.c 2011/04/18 12:29:59 1.16 @@ -1,4 +1,4 @@ -/* $OpenBSD: child.c,v 1.15 2011/04/10 15:47:28 krw Exp $ */ +/* $OpenBSD: child.c,v 1.16 2011/04/18 12:29:59 krw Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -196,7 +196,7 @@ */ while ((amt = read(child->c_readfd, rbuf, sizeof(rbuf))) > 0) { /* XXX remove these debug calls */ - debugmsg(DM_MISC, "[readchild(%s, %d, %d) got %lld bytes]", + debugmsg(DM_MISC, "[readchild(%s, %d, %d) got %zd bytes]", child->c_name, child->c_pid, child->c_readfd, amt); (void) xwrite(fileno(stdout), rbuf, amt); @@ -205,7 +205,7 @@ child->c_name, child->c_pid, child->c_readfd); } - debugmsg(DM_MISC, "readchild(%s, %d, %d) done: amt = %lld errno = %d\n", + debugmsg(DM_MISC, "readchild(%s, %d, %d) done: amt = %zd errno = %d\n", child->c_name, child->c_pid, child->c_readfd, amt, errno); /*