aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vbackup
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2007-12-04 09:03:08 -0500
committerRuss Cox <rsc@swtch.com>2007-12-04 09:03:08 -0500
commitb88619038f124ab421c7f5bcc9bad068f6cdc9e4 (patch)
treecf6e75100cae1c93660805810770bae6d7699941 /src/cmd/vbackup
parent34b2f0bc1d3859ca7b52d9c71fce0475e6e84825 (diff)
downloadplan9port-b88619038f124ab421c7f5bcc9bad068f6cdc9e4.tar.gz
plan9port-b88619038f124ab421c7f5bcc9bad068f6cdc9e4.tar.bz2
plan9port-b88619038f124ab421c7f5bcc9bad068f6cdc9e4.zip
vbackup: fix uninitialized variable use in -i code
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r--src/cmd/vbackup/vbackup.c1
1 files changed, 1 insertions, 0 deletions
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");