summaryrefslogtreecommitdiff
path: root/usr/src/tools/codereview
diff options
context:
space:
mode:
authorJeff Bonwick <Jeff.Bonwick@Sun.COM>2008-12-01 12:43:36 -0800
committerJeff Bonwick <Jeff.Bonwick@Sun.COM>2008-12-01 12:43:36 -0800
commit8ad4d6dd86f5bc65fb3afa566c8133f3bac21648 (patch)
treeb68e34a6370d884b6271a093a2d86aba624f72b8 /usr/src/tools/codereview
parent24a1f0af9f770e0e795ef1fa1c6dece8dd8dc959 (diff)
downloadillumos-joyent-8ad4d6dd86f5bc65fb3afa566c8133f3bac21648.tar.gz
6328632 zpool offline is a bit too conservative
6739487 ASSERT: txg <= spa_final_txg due to scrub/export race 6767129 ASSERT: cvd->vdev_isspare, in spa_vdev_detach() 6747698 checksum failures after offline -t / export / import / scrub 6745863 ZFS writes to disk after it has been offlined 6722540 50% slowdown on scrub/resilver with certain vdev configurations 6759999 resilver logic rewrites ditto blocks on both source and destination 6758107 I/O should never suspend during spa_load() 6776548 codereview(1) runs off the page when faced with multi-line comments 6761406 AMD errata 91 workaround doesn't work on 64-bit systems
Diffstat (limited to 'usr/src/tools/codereview')
-rw-r--r--usr/src/tools/codereview/lwlp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/tools/codereview/lwlp.c b/usr/src/tools/codereview/lwlp.c
index 6d17dda820..2bc1facb17 100644
--- a/usr/src/tools/codereview/lwlp.c
+++ b/usr/src/tools/codereview/lwlp.c
@@ -736,7 +736,6 @@ printbanner(char *filename, FILE *outfile)
nlines++;
restore_format_state(&format_state, outfile);
- savestate(outfile);
return (nlines);
}
@@ -893,6 +892,7 @@ printpage(FILE *infile, FILE *outfile)
if (bannerfile) {
current.lineno += printbanner(bannerfile, outfile);
bannerfile = NULL;
+ savestate(outfile);
}
for (; current.lineno < lines_per_page; ) {
if (fgetline(bufin, sizeof (bufin), infile) == (char *)NULL) {
@@ -1186,7 +1186,7 @@ proc(char *in, FILE *outfile)
current.row - DEFAULT_DESCENDER_FRACTION * point_size,
end_x,
current.row +
- (1.0 - DEFAULT_DESCENDER_FRACTION) * point_size,
+ (1.0 - DEFAULT_DESCENDER_FRACTION) * point_size,
SHADE);
}