aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/dump/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c
index 127b5ca33f97..a7123fb96de3 100644
--- a/sbin/dump/main.c
+++ b/sbin/dump/main.c
@@ -433,6 +433,7 @@ main(int argc, char *argv[])
msgtail("to %s\n", tape);
sync();
+ sblock = NULL;
if ((ret = sbget(diskfd, &sblock, -1)) != 0) {
switch (ret) {
case ENOENT: