From b88619038f124ab421c7f5bcc9bad068f6cdc9e4 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 4 Dec 2007 09:03:08 -0500 Subject: vbackup: fix uninitialized variable use in -i code --- src/cmd/vbackup/vbackup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/vbackup/vbackup.c b/src/cmd/vbackup/vbackup.c index a80a2c2f..07000b1f 100644 --- a/src/cmd/vbackup/vbackup.c +++ b/src/cmd/vbackup/vbackup.c @@ -239,6 +239,7 @@ threadmain(int argc, char **argv) sysfatal("file system block counts don't match %lld %lld", e.size, fsys->nblock*bsize); } + tmpnam = nil; if(incremental){ if(vtfilegetentry(vfile, &e) < 0) sysfatal("vtfilegetentry: %r"); -- cgit v1.2.3