openbsd-ports/sysutils/faubackup/patches/patch-src_faubackup-scatter_c
sturm 4f6fbc67bc initial import of faubackup 0.5.9
faubackup uses a filesystem on a hard drive for incremental and full backups.
All backups can easily be accessed by standard filesystem tools. Later backups
to the same filesystem will automatically be incremental, as unchanged files
are only hard-linked with the existing version of the file.

from Sebastian Trahm <basti at schleifi.com>
2008-12-29 19:51:09 +00:00

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);
}