DEVEL15-bosserver-invoke-salvager-fully-specifying-force-20090611
authorAndrew Deason <adeason@sinenomine.net>
Thu, 11 Jun 2009 15:19:25 +0000 (15:19 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 11 Jun 2009 15:19:25 +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 0c0dfc4..5121fc4 100644 (file)
@@ -1286,7 +1286,7 @@ DoSalvage(struct rx_connection * aconn, char * aparm1, char * aparm2,
            printf("bos: command line too big\n");
            return (E2BIG);
        }
-       strcat(tbuffer, " -f ");
+       strcat(tbuffer, " -force ");
        strcat(tbuffer, partName);
     }