From: Peter Tripician Date: Wed, 18 Feb 2009 17:28:10 +0000 (+0000) Subject: DEVEL15-vos-increment-offline-count-20090218 X-Git-Tag: openafs-devel-1_5_58~139 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=578e0ac98a59fbef021ea421f68212af2701f0e2;p=packages%2Fo%2Fopenafs.git DEVEL15-vos-increment-offline-count-20090218 LICENSE IPL10 FIXES 124333 increment offline volume count, not pointer to it (cherry picked from commit 733794b4d8be284dcb6f9e60fa4b4abe1f3398f2) --- diff --git a/src/volser/vos.c b/src/volser/vos.c index f75913db2..cff091d63 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -507,7 +507,7 @@ DisplayFormat(pntr, server, part, totalOK, totalNotOK, totalBusy, fast, *totalOK += 1; } else { fprintf(STDOUT, "Off-line"); - *totalNotOK++; + *totalNotOK += 1; } if (pntr->needsSalvaged == 1) fprintf(STDOUT, "**needs salvage**");