summaryrefslogtreecommitdiff
path: root/usr.bin/rsync/downloader.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-03-23 16:04:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-03-23 16:04:29 +0000
commit5745778ca1a0122eed5f9e03284d14be92383ace (patch)
tree1372fe03ea6b687c778c65c138e56548edac6f1c /usr.bin/rsync/downloader.c
parenteffc5ed450886188cc6834e83e36d7d6eb743998 (diff)
indents and reflows around ERR*() and LOG*(); ok benno
Diffstat (limited to 'usr.bin/rsync/downloader.c')
-rw-r--r--usr.bin/rsync/downloader.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/rsync/downloader.c b/usr.bin/rsync/downloader.c
index a2b8aaa3751..a65f23d7a30 100644
--- a/usr.bin/rsync/downloader.c
+++ b/usr.bin/rsync/downloader.c
@@ -1,4 +1,4 @@
-/* $Id: downloader.c,v 1.17 2019/02/18 22:47:34 benno Exp $ */
+/* $Id: downloader.c,v 1.18 2019/03/23 16:04:28 deraadt Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -103,7 +103,7 @@ log_file(struct sess *sess,
}
LOG1(sess, "%s (%.*f %s, %.1f%% downloaded)",
- f->path, prec, tot, unit, frac);
+ f->path, prec, tot, unit, frac);
}
/*
@@ -489,9 +489,9 @@ again:
} else if (rawtok < 0) {
tok = -rawtok - 1;
if (tok >= p->blk.blksz) {
- ERRX(sess, "%s: token not in block "
- "set: %zu (have %zu blocks)",
- p->fname, tok, p->blk.blksz);
+ ERRX(sess,
+ "%s: token not in block set: %zu (have %zu blocks)",
+ p->fname, tok, p->blk.blksz);
goto out;
}
sz = tok == p->blk.blksz - 1 ? p->blk.rem : p->blk.len;