]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-bosserver-invoke-salvager-fully-specifying-force-20090611
authorAndrew Deason <adeason@sinenomine.net>
Thu, 11 Jun 2009 15:19:35 +0000 (15:19 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 11 Jun 2009 15:19:35 +0000 (15:19 +0000)
LICENSE IPL10
FIXES 124916

bos salvage can invoke salvager with -f (instead of -force) which is no
longer unique. fix that.

(cherry picked from commit 2c755529c79492738fec61a5fc311216678a52e7)

src/bozo/bos.c

index 990aa8feac572debb1015f0cceb48e8df8396217..75da894d86781b0c13a27e883d45f08a5378a11f 100644 (file)
@@ -1270,7 +1270,7 @@ DoSalvage(aconn, aparm1, aparm2, aoutName, showlog, parallel, atmpDir,
            printf("bos: command line too big\n");
            return (E2BIG);
        }
-       strcat(tbuffer, " -f ");
+       strcat(tbuffer, " -force ");
        strcat(tbuffer, partName);
     }