From 728c1febcdda2fccaacb50fdbcd8a0d315a1ed88 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 21 Jul 2007 18:45:08 +0000 Subject: [PATCH] Fix grow.c git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5212 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/tools/grow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.5