15 lines
493 B
Plaintext
15 lines
493 B
Plaintext
|
$OpenBSD: patch-src_faubackup-scatter_c,v 1.1.1.1 2008/12/29 19:51:09 sturm Exp $
|
||
|
--- src/faubackup-scatter.c.orig Sun Dec 28 13:00:52 2008
|
||
|
+++ src/faubackup-scatter.c Sun Dec 28 13:02:24 2008
|
||
|
@@ -69,8 +69,8 @@ recv_buf(void *buf, size_t len, int mayfail)
|
||
|
}
|
||
|
|
||
|
if( len!=0 && ! mayfail ) {
|
||
|
- fprintf(stderr, "%s: protocol error (%d bytes missing)\n",
|
||
|
- progname, len);
|
||
|
+ fprintf(stderr, "%s: protocol error (%lu bytes missing)\n",
|
||
|
+ progname, (unsigned long) len);
|
||
|
exit(1);
|
||
|
}
|
||
|
|