From: Peter Tripician Date: Wed, 18 Feb 2009 17:28:20 +0000 (+0000) Subject: STABLE14-vos-increment-offline-count-20090218 X-Git-Tag: openafs-stable-1_4_9pre1~38 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=455c7720dbfa1616dc4e59fdb31a171943ec8ae8;p=packages%2Fo%2Fopenafs.git STABLE14-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 900276e81..299c10030 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -505,7 +505,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**");