From: Kern Sibbald Date: Sat, 21 Jul 2007 18:45:08 +0000 (+0000) Subject: Fix grow.c X-Git-Tag: Release-7.0.0~5972 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=728c1febcdda2fccaacb50fdbcd8a0d315a1ed88;p=bacula%2Fbacula Fix grow.c git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5212 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/tools/grow.c b/bacula/src/tools/grow.c index 3736acaf03..33486b8a0f 100644 --- a/bacula/src/tools/grow.c +++ b/bacula/src/tools/grow.c @@ -43,7 +43,7 @@ int main(int argc, char *argv[]) exit(1); } howBig = str_to_int64(argv[2]); - fp = fopen(argv[1], "w+"); + fp = fopen(argv[1], "r+"); if (!fp) { berrno be; Pmsg2(0, "Could not open %s for write. ERR=%s\n", argv[1], be.bstrerror());