4f6fbc67bc
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>
15 lines
570 B
Plaintext
15 lines
570 B
Plaintext
$OpenBSD: patch-src_faubackup-gather_c,v 1.1.1.1 2008/12/29 19:51:09 sturm Exp $
|
|
--- src/faubackup-gather.c.orig Sun Dec 28 13:00:40 2008
|
|
+++ src/faubackup-gather.c Sun Dec 28 13:02:58 2008
|
|
@@ -56,8 +56,8 @@ send_buf(void *_buf, size_t len)
|
|
while( len > 0 ) {
|
|
ret = fwrite( buf, 1, len, stdout );
|
|
if( ferror(stdout) ) {
|
|
- fprintf( stderr, "%s: stdout fwrite %d bytes: %s\n",
|
|
- progname, len, strerror(errno));
|
|
+ fprintf( stderr, "%s: stdout fwrite %lu bytes: %s\n",
|
|
+ progname, (unsigned long) len, strerror(errno));
|
|
exit(1);
|
|
}
|
|
buf += ret;
|