]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-vsprocs-log-format-bug-20090531
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Mon, 1 Jun 2009 00:15:21 +0000 (00:15 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 1 Jun 2009 00:15:21 +0000 (00:15 +0000)
LICENSE IPL10

fix the logged data to avoid a format string issue

(cherry picked from commit 8e0b8243ea8b38e6ceab8f1dc6a0e032d6622568)

src/volser/vsprocs.c

index 79df3b3b72906faa163e8b3997445aa530c12df9..e839f9f586019627846014de2b2016b4feddf6c0 100644 (file)
@@ -2316,7 +2316,7 @@ cpincr:
                      &cookie);
     EGOTO1(mfail, code,
           "Failed to do the%s dump from old site to new site\n",
-          afromvol);
+          (flags & RV_NOCLONE) ? "" : " incremental");
     VDONE;
 
     VPRINT1("Setting volume flags on destination volume %u ...", newVol);