svn commit: r334814 - head/sbin/dump
Ed Maste
emaste at freebsd.org
Fri Jun 8 14:08:47 UTC 2018
On 7 June 2018 at 16:49, Kirk McKusick <mckusick at freebsd.org> wrote:
> Author: mckusick
> Date: Thu Jun 7 20:49:01 2018
> New Revision: 334814
> URL: https://svnweb.freebsd.org/changeset/base/334814
>
> Log:
> Ensure proper initialization of superblock.
>
...
> --- head/sbin/dump/main.c Thu Jun 7 19:57:55 2018 (r334813)
> +++ head/sbin/dump/main.c Thu Jun 7 20:49:01 2018 (r334814)
> @@ -433,6 +433,7 @@ main(int argc, char *argv[])
> msgtail("to %s\n", tape);
>
> sync();
> + sblock = NULL;
> if ((ret = sbget(diskfd, &sblock, -1)) != 0) {
sblock is initialized to NULL at the beginning of ffs_sbget, so I'm
not really sure what's happening here.
More information about the svn-src-head
mailing list